Cover of Anders Goransson: Efficient Android Threading

Anders Goransson Efficient Android Threading

Asynchronous Processing Techniques for Android Applications

Price for Eshop: 805 Kč (€ 32.2)

VAT 0% included

New

E-book delivered electronically online

E-Book information

O'Reilly Media

2014

PDF
How do I buy e-book?

280

978-1-4493-6411-3

1-4493-6411-X

Annotation

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 youre 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 HandlerThreadUse Javas Executor Framework to control or cancel threadsHandle background task execution with AsyncTask and IntentServiceAccess content providers with AsyncQueryHandlerUse loaders to update the UI with new data

Ask question

You can ask us about this book and we'll send an answer to your e-mail.