Efficient Android Threading (Paperback)


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 platformLearn how threads communicate within and between processesUse strategies to reduce the risk of memory leaksManage the lifecycle of a basic threadRun tasks sequentially in the background with "HandlerThread"Use Java's Executor Framework to control or cancel threadsHandle background task execution with "AsyncTask" and "IntentService"Access content providers with "AsyncQueryHandler"Use loaders to update the UI with new data


R869
List Price R1,212
Save R343 28%

Or split into 4x interest-free payments of 25% on orders over R50
Learn more

Discovery Miles8690
Mobicred@R81pm x 12* Mobicred Info
Free Delivery
Delivery AdviceShips in 12 - 17 working days


Toggle WishListAdd to wish list
Review this Item

Product Description

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 platformLearn how threads communicate within and between processesUse strategies to reduce the risk of memory leaksManage the lifecycle of a basic threadRun tasks sequentially in the background with "HandlerThread"Use Java's Executor Framework to control or cancel threadsHandle background task execution with "AsyncTask" and "IntentService"Access content providers with "AsyncQueryHandler"Use loaders to update the UI with new data

Customer Reviews

No reviews or ratings yet - be the first to create one!

Product Details

General

Imprint

O'Reilly Media

Country of origin

United States

Release date

May 2014

Availability

Expected to ship within 12 - 17 working days

First published

June 2014

Authors

Dimensions

232 x 178 x 14mm (L x W x T)

Format

Paperback

Pages

250

ISBN-13

978-1-4493-6413-7

Barcode

9781449364137

Categories

LSN

1-4493-6413-6



Trending On Loot