Efficient Android Threading: Asynchronous Processing Techniques for Android Applications

· "O'Reilly Media, Inc."
3,9
Відгуки: 18
Електронна книга
280
Сторінки
Можна додати
Google не перевіряє оцінки й відгуки. Докладніше.

Про цю електронну книгу

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, у веб-переглядачі на комп’ютері.
eReader та інші пристрої
Щоб користуватися пристроями для читання електронних книг із технологією E-ink, наприклад Kobo, вам знадобиться завантажити файл і перенести його на відповідний пристрій. Докладні вказівки з перенесення файлів на підтримувані пристрої можна знайти в Довідковому центрі.