Normal view MARC view ISBD view

Efficient android threading :

By: Göransson, Anders
Material type: BookPublisher: Sebastopol, CA : O'Reilly Media, 2014.Description: xvi, 260 p. : ill. ; 24 cm.ISBN: 978-1449364137Subject(s): Android (Electronic resource) | Threads (Computer programs) | Application software -- Development | Mobile computingDDC classification: 006.7 GO EF Online resources: Location Map
Summary:
Many developers using the Android platform have encountered problems when choosing an asynchronous solution to create a snappy user experience. This practical book explains Android's asynchronous toolkit and how you should select the best solution for your problem. The pros and cons of each and every asynchronous technique is explored in detail.
Multithreading is essential if you want to create an Android app with a great user experience, but how do you know which techniques can help solve your problem? This practical book describes many asynchronous mechanisms available in the Android SDK, and provides guidelines for selecting the ones most appropriate for the app you're building. Author Anders Goransson demonstrates the advantages and disadvantages of each technique, with sample code and detailed explanations for using it efficiently. The first part of the book describes the building blocks of asynchronous processing, and the second part covers Android libraries and constructs for developing fast, responsive, and well-structured apps. Understand multithreading basics in Java and on the Android platform Learn how threads communicate within and between processes Use strategies to reduce the risk of memory leaks Manage the lifecycle of a basic thread Run tasks sequentially in the background with HandlerThread Use Java's Executor Framework to control or cancel threads Handle background task execution with AsyncTask and IntentService Access content providers with AsyncQueryHandler Use loaders to update the UI with new data
Tags from this library: No tags from this library for this title. Log in to add tags.
    average rating: 0.0 (0 votes)
Item type Home library Call number Status Date due Barcode Item holds
REGULAR University of Wollongong in Dubai
Main Collection
006.7 GO EF (Browse shelf) Available T0012867
Total holds: 0

Many developers using the Android platform have encountered problems when choosing an asynchronous solution to create a snappy user experience. This practical book explains Android's asynchronous toolkit and how you should select the best solution for your problem. The pros and cons of each and every asynchronous technique is explored in detail.

Multithreading is essential if you want to create an Android app with a great user experience, but how do you know which techniques can help solve your problem? This practical book describes many asynchronous mechanisms available in the Android SDK, and provides guidelines for selecting the ones most appropriate for the app you're building. Author Anders Goransson demonstrates the advantages and disadvantages of each technique, with sample code and detailed explanations for using it efficiently. The first part of the book describes the building blocks of asynchronous processing, and the second part covers Android libraries and constructs for developing fast, responsive, and well-structured apps. Understand multithreading basics in Java and on the Android platform Learn how threads communicate within and between processes Use strategies to reduce the risk of memory leaks Manage the lifecycle of a basic thread Run tasks sequentially in the background with HandlerThread Use Java's Executor Framework to control or cancel threads Handle background task execution with AsyncTask and IntentService Access content providers with AsyncQueryHandler Use loaders to update the UI with new data

Powered by Koha