18. Optimization

Creating a well-balanced app goes beyond creating network connections, adding data storage, and using eye-popping visuals. A well-crafted app takes into consideration the limitations of the device and uses various techniques to maximize the experience for the end user. In this chapter, you learn about extending the Application class, setting up custom logging for your app, changing the configuration based on the version of your app, and managing device memory.

Application Optimization

When you’re creating your app, the odds are high that you have spent a considerable amount of time going over the critical onCreate() method, adding a proper amount of unit testing, and using the Log class to fine-tune the expected objects and ...

Get Android™ Development Patterns: Best Practices for Professional Developers 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.