O'Reilly logo

Android Quick APIs Reference by Onur Cinar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    4

Application Resources

Resources are one of the most important components of an application. It is always good practice to externalize resources in order to maintain consistency and to prevent resource duplication, as resources can be referenced from multiple places within the application. Decoupling the code and the resources also has other advantages.

  • Localization of the Application: The application can carry an alternative set of resources for various languages, and it can switch between them based on the user’s locale during runtime. This makes it possible to support multiple languages and locales with a single application binary.
  • Device Specific Look and Feel: As the Android platform is highly fragmented, there is no magic ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required