Efficient Android Threading: Asynchronous Processing Techniques for Android Applications (Paperback)

Efficient Android Threading: Asynchronous Processing Techniques for Android Applications (Paperback)

作者: Anders Goransson
出版社: O'Reilly
出版在: 2014-06-24
ISBN-13: 9781449364137
ISBN-10: 1449364136
裝訂格式: Paperback
總頁數: 280 頁





內容描述


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 HandlerThreadUse Java’s 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




相關書籍

Beginning iOS Game Center and Game Kit: For iPhone, iPad, and iPod touch (Paperback)

作者 Kyle Richter

2014-06-24

Android 應用開發案例教程 (Android Studio版)

作者 張霞

2014-06-24

計算機原理實作 -- 使用 App Inventor 2 (第三版)(附範例光碟)

作者 陳延華 蔡佳哲

2014-06-24