Зарегистрироваться
Восстановить пароль
FAQ по входу

Göransson Anders. Efficient Android Threading

  • Файл формата pdf
  • размером 12,03 МБ
  • Добавлен пользователем
  • Описание отредактировано
Göransson Anders. Efficient Android Threading
Sebastopol: O’Reilly, 2014. — 280 p. — ISBN: 978-1449364137.
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 are 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 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 Components and the Need for Multiprocessing
Fundamentals
Multithreading in Java
Threads on Android
Thread Communication
Interprocess Communication
Memory Management
Asynchronous Techniques
Managing the Lifecycle of a Basic Thread
HandlerThread: A High-Level Queueing Mechanism
Control over Thread Execution Through the Executor Framework
Tying a Background Task to the UI Thread with AsyncTask
Services
IntentService
Access ContentProviders with AsyncQueryHandler
Automatic Background Execution with Loaders
Summary: Selecting an Asynchronous Technique
  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация