4. Managing Application Resources

Android applications for the Kindle Fire rely on strings, graphics, and other types of resources to generate robust user interfaces. Android projects can include these resources, using a well-defined project resource hierarchy. In this chapter, we review the most common types of resources used by Android applications, how they are stored, and how they can be accessed programmatically. This chapter prepares you for working with resources in future chapters, but you are not directly asked to write code or create resources.

Using Application and System Resources

Resources are broken down into two types: application resources and system resources. Application resources are defined by the developer within the Android ...

Get Learning Android™ Application Programming for the Kindle Fire™: A Hands-On Guide to Building Your First Android Application 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.