Archive for November, 2012

Getting Started With Fragments and the Support Library

Fragments are modular building blocks for creating a responsive Android UI. They help you to target different devices and screen sizes while at the same time avoiding code duplication. This post starts with the Android Developers Tools generating a project for you. I then explain some of the generated code and will show you how […]

Android: How to Use Two Data Sources in ListViews?

Sometimes in our apps we have the need to link to data of other sources. You have a database of your own for your app, but some records also point to the MediaStore content provider to calendar entries or to contacts. For all detail pages this is not much of a problem. You get the […]

Use Android’s ContentObserver in Your Code to Listen to Data Changes

When you are using a content provider as a client, chances are that you want to know whenever the data changes. That’s what Android’s class ContentObserver is for. To use the ContentObserver you have to take two steps: Implement a subclass of ContentObserver Register your content observer to listen for changes Implement a subclass of […]

What You Need to Know About the Intents of Android’s Calendar App

When your app needs to access calendar data you have to choose whether to use the CalendarContract content provider or whether to use Intents to start specific Activities of the Calendar app. This post covers the intents offered by the official Calendar app. While with using Intents your possibilities are limited compared to those of […]

Half a Year of Blogging About Android Development

Exactly six months ago I published my “Hello World” post. And one week later my first post with serious content followed: Android: Checking Connectivity. Over the last half year I have continuously blogged and there were only two weeks in which I didn’t publish any posts. According my general feeling my blog progresses nicely. And […]

Subscribe to RSS Feed My G+-Profile Follow me on Twitter!