Tuning Android Applications Version 0.3 Available
This update adds ~35 pages of partial coverage of dealing with memory-related issues. It focuses on the Memory Analyzer (MAT) utility: how to get it, how to collect a heap dump, and how to use MAT to try to track down leaks. There is much more to be added in this area of the book, such as strategies for avoiding memory leaks, which will be added in a future version.
This update also adds a few clarifications to the CPU and bandwidth sections from the previous version, with more updates in these areas to come.
The next update — Version 0.4 — will have partial coverage of battery consumption, with a focus on the Qualcomm MDP devices and Trepn. I expect to have this out by late September or early October.
If you have questions regarding the use of the sample code, please post a question
on StackOverflow tagged with
android. Be sure to indicate
what book example you are having issues with, and be sure to include source code
and stack traces if you are encountering crashes.
Need an extra hand with your Android app development project? CommonsWare can help — reach out for details!