Skip to Main Content
Advanced Android™ Application Development, Fourth Edition
book

Advanced Android™ Application Development, Fourth Edition

by Joseph Annuzzi Jr., Lauren Darcey, Shane Conder
November 2014
Intermediate to advanced content levelIntermediate to advanced
624 pages
16h 56m
English
Addison-Wesley Professional
Content preview from Advanced Android™ Application Development, Fourth Edition

1. Threading and Asynchronous Processing

Offloading intensive operations provides a smoother, more stable experience to the user. An application that is not responsive within 100 to 200 milliseconds creates the feeling of a slow application. Processing off the main UI thread may help speed up your applications. The Android SDK provides two easy ways to manage offload processing from the main UI thread: the AsyncTask class and the standard Java Thread class. An Activity or Fragment often needs to load data upon launch, which can be done asynchronously using a Loader class. In this chapter, you will learn how to make your applications more responsive by knowing when and how to move intensive operations off the main UI thread to be handled asynchronously. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android Application Development All-in-One For Dummies, 3rd Edition

Android Application Development All-in-One For Dummies, 3rd Edition

Barry Burd, John Paul Mueller

Publisher Resources

ISBN: 9780133892420Purchase book