Efficient Android threading /
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 mos...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly Media,
©2014.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Sumario: | 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. |
---|---|
Descripción Física: | 1 online resource (1 volume) : illustrations |
Bibliografía: | Includes bibliographical references and index. |
ISBN: | 1449364136 9781449364137 9781449364120 1449364128 9781322124216 1322124213 9781449364113 144936411X 9781449364090 1449364098 |