Targeting Android Platforms

Android platform is a fancy way of saying Android version. At this writing, many versions of Android are available, ranging up through version 4.1. You can target any platform you choose.

remember.eps Several versions of Android are still widely used on phones. If you want to reach the largest number of users, target an earlier version. If your app requires functionality that older platforms can’t support, however, by all means target the newer platform. It would make no sense to write a Bluetooth toggle widget targeting any platform earlier than 2.0 because earlier platforms can’t use Bluetooth.

Figure 2-17 shows the percentage of each platform in use as of May 2012. To view current platform statistics, visit http://developer.android.com/resources/dashboard/platform-versions.html .

Figure 2-17: Android distribution as of May 2012.

9781118417454-fg0217.eps

Get Android Application Development For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.