Chapter 13
Exploring Packages, Processes, Threads, and Handlers
In the book thus far, we have focused on the essentials of how to program for the Android platform. In this chapter we want to go under the hood a bit to address the process and threading model for Android programs. This discussion will lead us to signing packages, sharing data between packages, using compile-time libraries, the nature of Android components and how they use threads, and finally the need for handlers and how one can code handlers.
As you go through this chapter, keep in mind that the word “package” is overloaded. Sometimes it refers to the Java language package, and sometimes it refers to the APK files that Android applications are deployed as.
Understanding Packages ...
Get Pro Android 5, Fifth Edition 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.