Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Asynchronous Android: Harness the Power of Multi-Core Mobile Processors to Build Responsive Android Applications
by
Steve Liles
(Author)
{"desktop_buybox_group_1":[{"displayPrice":"$43.99","priceAmount":43.99,"currencySymbol":"$","integerValue":"43","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"75jTkon3wSL02AVcJxiKAsgv9QKfcXNXQqUF71lcWIjiSm4DKLFW2eFpIB558QzcCPDyNuJ5QQ51u0PZWN%2FoQyUI23Tj9PqgUbVeJlQSPM2rDMNs%2F0A5isGFhPu57BoBo3gTUqDk1lF5%2BI%2Bva8Nl%2Fw%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}
Purchase options and add-ons
This title provides a step-by-step tutorial which explains how asynchronous tasks and handlers are used for performing multithreading with Android to improve the performance of Android applications. It also guides you through the concurrency constructs provided by the Android platform, illustrating the applications, benefits, and pitfalls of each.
- ISBN-101783286873
- ISBN-13978-1783286874
- PublisherPackt Pub Ltd
- Publication dateDecember 31, 2013
- LanguageEnglish
- Dimensions7.25 x 0.5 x 9 inches
- Print length129 pages
Product details
- Publisher : Packt Pub Ltd (December 31, 2013)
- Language : English
- Paperback : 129 pages
- ISBN-10 : 1783286873
- ISBN-13 : 978-1783286874
- Item Weight : 9.6 ounces
- Dimensions : 7.25 x 0.5 x 9 inches
- Customer Reviews:
Customer reviews
4.8 out of 5 stars
4.8 out of 5
5 global ratings
- 5 star4 star3 star2 star1 star5 star75%25%0%0%0%75%
- 5 star4 star3 star2 star1 star4 star75%25%0%0%0%25%
- 5 star4 star3 star2 star1 star3 star75%25%0%0%0%0%
- 5 star4 star3 star2 star1 star2 star75%25%0%0%0%0%
- 5 star4 star3 star2 star1 star1 star75%25%0%0%0%0%
How customer reviews and ratings work
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Reviewed in the United States on September 14, 2014
Very concise, but informative and helpful. Well worth the money. Sincerely recommend this great book to all Android developers.
Reviewed in the United States on March 24, 2014
Give this book a little bit of credit for doing a decent job of covering the waterfront which is kind of vast. You can figure most of the same things out reading the documentation, but this is a good single source, for example, to figure out if you want to use Handlers or AsyncTasks, etc. Frankly, this is one of the best things books can provide when their topic is as wide ranging as an operating system, and the Android docs do not do this very well. The section on Services is really pretty good: there is discussion of IntentService vs. extending Service itself, and the rationale for doing services (which is actually quite broad).
The negatives in this book is that the material is pretty thin. For instance, there is no in depth discussion of things like the looper. There is no discussion at all about testing. It all kind of has the feel of just 'if you're looking for x, go to door y.' Also, there are a few sections of the book that are completely absurd like the one where the author uses a file download as an example of something that ought be implemented as a service, then in the chapter summary he calls it the best example of a service. On earth? Huh??
Just barely made 4 and that's because of the success in providing comparative summaries that the documentation lacks.
The negatives in this book is that the material is pretty thin. For instance, there is no in depth discussion of things like the looper. There is no discussion at all about testing. It all kind of has the feel of just 'if you're looking for x, go to door y.' Also, there are a few sections of the book that are completely absurd like the one where the author uses a file download as an example of something that ought be implemented as a service, then in the chapter summary he calls it the best example of a service. On earth? Huh??
Just barely made 4 and that's because of the success in providing comparative summaries that the documentation lacks.
Reviewed in the United States on April 7, 2014
With more than a million apps available from Google Play, Android has quickly become one of the most popular mobile operating system in use. Nowadays it is more important than ever to build apps that react quickly to user input, deliver results in a flash, and sync data in the background. Among the many things that contribute to a great user experience, responsiveness is the most important. Before making your app available to your users you must eliminate pauses and glitches while scrolling content, remove user interfaces that freeze while loading data from storage, add progress updates to let us know what's happening, and so on. In order to accomplish this task you must understand how to implement asynchronous operations that work with the Android platform
To address this problem efficiently, I recommend reading the book 'Asynchronous Android' from 'Packt Publishing' (see [...] )
'Asynchronous Android' is a practical book that guides you through the concurrency constructs provided by the Android platform, illustrating the applications, benefits, and pitfalls of each.
Reading the book, you will learn to use AsyncTask correctly to perform operations in the background, keeping user-interfaces running smoothly while avoiding treacherous memory leaks. Discover Handler, HandlerThread and Looper, the related and fundamental building blocks of asynchronous programming in Android. Escape from the constraints of the Activity lifecycle to load and cache data efficiently across your entire application with the Loader framework. Keep your data fresh with scheduled tasks, and understand how Services let your application continue to run in the background, even when the user is busy with something else.
Asynchronous Android will help you to build well-behaved apps with smooth, responsive user-interfaces that delight users with speedy results and data that’s always fresh, and keep the system happy and the battery charged by playing by the rules.
To address this problem efficiently, I recommend reading the book 'Asynchronous Android' from 'Packt Publishing' (see [...] )
'Asynchronous Android' is a practical book that guides you through the concurrency constructs provided by the Android platform, illustrating the applications, benefits, and pitfalls of each.
Reading the book, you will learn to use AsyncTask correctly to perform operations in the background, keeping user-interfaces running smoothly while avoiding treacherous memory leaks. Discover Handler, HandlerThread and Looper, the related and fundamental building blocks of asynchronous programming in Android. Escape from the constraints of the Activity lifecycle to load and cache data efficiently across your entire application with the Loader framework. Keep your data fresh with scheduled tasks, and understand how Services let your application continue to run in the background, even when the user is busy with something else.
Asynchronous Android will help you to build well-behaved apps with smooth, responsive user-interfaces that delight users with speedy results and data that’s always fresh, and keep the system happy and the battery charged by playing by the rules.
Reviewed in the United States on September 28, 2014
This is the best book to learn about the android framework's async features. There are other broader books on android that will give a chapter or two to the various pieces of the framework that are provided to help you run tasks asynchronously but they always seem to leave you wanting and wandering Google for a little more information. The author gives a thorough introduction to each of the tools provided by android to help its developers run tasks in parallel.
I would recommend reading the entire book but it is organized nicely and each component gets its own chapter. If you are simply dealing with asynctasks and life cycle issues related to asynctasks you can open this book to that chapter and be happily on your way.
Overall because of the importance that android places on not blocking an application's main thread means that every android developer should read this book to get the best performance and stability from their apps.
I would recommend reading the entire book but it is organized nicely and each component gets its own chapter. If you are simply dealing with asynctasks and life cycle issues related to asynctasks you can open this book to that chapter and be happily on your way.
Overall because of the importance that android places on not blocking an application's main thread means that every android developer should read this book to get the best performance and stability from their apps.