concept topic in category android

This is an excerpt from Manning's book Android in Action, Third Edition.
A mobile platform is ultimately valuable only if there are applications to use and enjoy on that platform. To that end, the topic of buying and selling applications for Android is important and gives us an opportunity to highlight a key difference between Android and the iPhone. The Apple App Store contains software titles for the iPhone—lots of them. But Apple’s somewhat draconian grip on the iPhone software market requires that all applications be sold through its venue. Although Apple’s digital rights management (DRM) is the envy of the market, this approach can pose a challenging environment for software developers who might prefer to make their application available through multiple distribution channels.
In this chapter, we cover the topics required for localizing an application. You’ll learn high-level strategies for localizing an application, and you’ll take a hands-on approach to converting an existing application to another language. Looking back to chapter 12’s Field Service application, you’ll refactor that code to be localization ready and then translate it to Spanish. We demonstrate the localized version of the application through screenshots throughout the chapter.
When we speak of a locale, we often think of language: English, Spanish, Chinese, Polish, and so forth. Locale is more about orthography, or the rules for the written language. But the topic of localization encompasses more than just words. For example, Great Britain and the United States share a common language: English. The differences extend beyond how the language is used and how certain words are spelled. Consider the formatting of dates, which differs on either side of the Atlantic Ocean. In the United States, it’s common to format a date with the month preceding the day: MM/DD/YYYY. In the UK, it’s more common to see the day of the month listed first: DD/MM/YYYY.