Why Develop for Android?

The real question is, “Why not develop for Android?” If you want your app to be available to millions of users worldwide or you want to publish apps as soon as you finish writing and testing them or you like developing on an open platform, you have your answer. But in case you’re still undecided, continue reading.

Market share

As a developer, you have an opportunity to develop apps for a fairly new — and booming — market. Many analysts believe that the number of Android devices in use is greater than the number of devices on all other mobile operating systems combined. The Google Play Store puts your app directly and easily into a user’s hands (or, more accurately, device). Users don’t have to search the Internet to find an app to install — they can simply go to the preinstalled Google Play Store on their devices and have access to all your apps. Because the Google Play Store comes preinstalled on most Android devices (see Chapter 19 for some exceptions), users typically search the Google Play Store for all their application needs. It isn’t unusual to see an app’s number of downloads soar in only a few days.

Time to market

Because of all the application programming interfaces (APIs) packed into Android, you can easily develop full-featured applications in a relatively short time frame. After you register as a developer at the Google Play Store, simply upload your apps and publish them. Unlike other mobile marketplaces, the Google Play Store has no app approval process. All you have to do is write apps and publish them.

tip.eps Though anyone can publish any type of app (technically speaking), maintain your good karma — and your compliance with the Google terms of service — by producing family-friendly apps. Android has users from diverse areas of the world and in all age categories.

Open platform

The Android operating system is an open platform: Any hardware manufacturer or provider can make or sell Android devices. As you can imagine, the openness of Android has allowed it to gain market share quickly. Feel free to dig into the Android source code — at http://source.android.com — to see how certain tasks are handled, for example. By using open source code, manufacturers can even create custom user interfaces (UIs) and add built-in features to certain devices.

Cross-compatibility

Android is cross-compatible: It can run on devices of many different screen sizes and resolutions, including phones and tablets. In addition, Android comes supplied with tools to help you develop cross-compatible applications. Google allows apps to run only on Android-compatible devices, however. If your app requires a front-facing camera, for example, only phones with front-facing cameras can “see” your app in the Google Play Store — an arrangement known as feature detection. (For more information on publishing your apps to the Google Play Store, see Chapter 8.)

Mashup capability

A mashup combines two or more services to create an application. You can create a mashup by using the camera and the Android location services, for example, to take a photo with the exact location displayed on the image. Or you can use a map’s API with the Contacts list, for example, to show all contacts on a map. You can easily make apps by combining services or libraries in countless new and exciting ways. A few other types of mashups that can help your brain juices start pumping out ideas

check.png Geolocation and social networking: Suppose that you want to write an app that tweets a user’s current location every ten minutes throughout the day. Using the Android location services and a third-party Twitter API (such as iTwitter), you can do it easily.

check.png Geolocation and gaming: Location-based gaming, which is increasingly popular, is a helpful way to inject players into the thick of a game. A game might run a background service to check a player’s current location and compare it with other players’ locations in the same area. If a second player is within a specified distance, the first one could be notified to challenge her to a battle. All this is possible because of GPS technology on a strong platform such as Android.

check.png Contacts and Internet: With all the useful APIs at your disposal, you can easily make full-featured apps by combining the functionality of two or more APIs. You can combine the Internet and names from the Contacts list to create a greeting-card app, for example. Or you may simply want to add an easy way for users to contact you from an app or enable them to send your app to their friends. (See “Google APIs,” later in this chapter, for more information on the APIs.)

remember.eps Developers can make Android do almost anything they want, so use your best judgment when creating and publishing apps for mass consumption. Just because you want live wallpaper to highlight your version of the hula in your birthday suit doesn’t mean that anyone else wants to see it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset