Efficient Android Threading: Asynchronous Processing Techniques for Android Applications (Paperback)
暫譯: 高效的 Android 執行緒:Android 應用程式的非同步處理技術 (平裝本)
Anders Goransson
- 出版商: O'Reilly
- 出版日期: 2014-07-08
- 定價: $1,750
- 售價: 9.5 折 $1,663
- 貴賓價: 9.0 折 $1,575
- 語言: 英文
- 頁數: 280
- 裝訂: Paperback
- ISBN: 1449364136
- ISBN-13: 9781449364137
-
相關分類:
Android
-
相關翻譯:
Android 高效能多執行緒 (Efficient Android Threading: Asynchronous Processing Techniques for Android Applications) (繁中版)
立即出貨
買這商品的人也買了...
-
深入淺出 Java 程式設計, 2/e (Head First Java, 2/e)$880$695 -
精通 Python 3 程式設計, 2/e (Programming in Python 3: A Complete Introduction to the Python Language, 2/e)$680$537 -
深入淺出 Python (Head First Python)$780$616 -
Arduino UNO R3 開發板(副廠相容版)附傳輸線$400$380 -
Arduino 基礎入門套件 (附範例程式下載連結)$950$903 -
Android 開發進入專業時代─深入 Telephony 核心模組詳解$650$553 -
圖學(AutoCAD‧CNS3 B1001), 5/e$570$513 -
精通 Objective-C 程式設計, 6/e (Programming in Objective-C, 6/e)$580$458 -
深入淺出 C#, 3/e (Head First C#, 3/e)$980$774 -
Android Hacker's Handbook (Paperback)$1,650$1,568 -
超圖解 Arduino 互動設計入門, 2/e$680$578 -
Getting Started with Bluetooth Low Energy: Tools and Techniques for Low-Power Networking (Paperback)$1,520$1,440 -
從車庫的舊 PC 到百萬台伺服器-巨型網站成長從無到無限大,技術架構大揭祕-最棒的「秒殺」網站設計實例$480$408 -
Unboxing Android USB: A hands on approach with real world examples (Paperback)$2,980$2,831 -
深入淺出 Node.js$560$437 -
MySQL 完全攻略 : 資料庫開發與效能調校$520$406 -
Responsive Web Design 自動調適型網頁程式設計-讓網頁在電腦 / 平板 / 手機完美展現$360$306 -
Arduino 互動設計專題與實戰-深入 Arduino 的全方位指南 (附114段教學與執行影片/範例程式檔)$550$435 -
改變世界的九大演算法 : 讓今日電腦無所不能的最強概念 (Nine Algorithms That Changed the Future: The Ingenious Ideas That Drive Today’s Computers)$360$284 -
ASP.NET MVC 5 網站開發美學$780$616 -
物件導向設計模式-可再利用物件導向軟體之要素 (精裝典藏版) (Design Patterns: Elements of Reusable Object-Oriented Software)$550$550 -
一手掌握 Android NFC 開發技術$480$408 -
啊哈!圖解演算法必學基礎$350$298 -
Raspberry Pi 超炫專案與完全實戰 (深入 Raspberry Pi 的全面開發經典) (附101段教學與執行影片/範例程式)$520$411 -
Android 程式設計入門、應用到精通--增訂第三版 (適用 5.X~1.X, Android Wear 穿戴式裝置)$560$442
相關主題
商品描述
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
商品描述(中文翻譯)
多執行緒對於創建具有良好用戶體驗的 Android 應用程式至關重要,但你如何知道哪些技術可以幫助解決你的問題呢?這本實用的書籍描述了 Android SDK 中可用的多種非同步機制,並提供了選擇最適合你所構建的應用程式的指導方針。
作者 Anders Goransson 展示了每種技術的優缺點,並提供了範例代碼和詳細的使用說明。書籍的第一部分描述了非同步處理的基本構件,第二部分則涵蓋了用於開發快速、響應良好且結構良好的應用程式的 Android 函式庫和構造。
- 了解 Java 和 Android 平台上的多執行緒基礎
- 學習執行緒如何在進程內部和之間進行通信
- 使用策略來降低記憶體洩漏的風險
- 管理基本執行緒的生命週期
- 使用 HandlerThread 在背景中順序執行任務
- 使用 Java 的 Executor Framework 來控制或取消執行緒
- 使用 AsyncTask 和 IntentService 處理背景任務執行
- 使用 AsyncQueryHandler 訪問內容提供者
- 使用加載器更新 UI 以顯示新數據
