Efficient Android Threading: Asynchronous Processing Techniques for Android Applications

· "O'Reilly Media, Inc."
3.9
18則評論
電子書
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 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

評分和評論

3.9
18則評論

關於作者

Anders Goransson is a software architect, developer, trainer and international speaker. He holds a M.Sc. in Engineering Physics and has spent his whole career in the software industry. He started with moving bits and bytes in industrial automation systems in 2001, but as of 2005 he has focused on software for mobile devices. He embraced the Android OS as the most exciting mobile platform for the future already when the first smartphone was released publicly in 2008. Ever since, he has helped major handset manufacturers, carriers, financial institutions, start-ups, etc., with the transfer into the smartphone era.

為這本電子書評分

歡迎提供意見。

閱讀資訊

智慧型手機與平板電腦
只要安裝 Google Play 圖書應用程式 Android 版iPad/iPhone 版,不僅應用程式內容會自動與你的帳戶保持同步,還能讓你隨時隨地上網或離線閱讀。
筆記型電腦和電腦
你可以使用電腦的網路瀏覽器聆聽你在 Google Play 購買的有聲書。
電子書閱讀器與其他裝置
如要在 Kobo 電子閱讀器這類電子書裝置上閱覽書籍,必須將檔案下載並傳輸到該裝置上。請按照說明中心的詳細操作說明,將檔案傳輸到支援的電子閱讀器上。