In This Chapter
• Moving Tasks to Background Threads
• Downloading and Displaying Images from the Internet
• Alarm Manager
• Sensor Manager
Performing tasks in the background increases application efficiency. One way to handle background processing is to use an Android service. A service is an application component that can perform long-running operations in the background and does not provide a user interface.
All Android application components such as activities, services, and broadcast receivers run in the main application thread. That ...
No credit card required