Asynchronous Android Programming, 2D Edition

Posted on

Asynchronous Android ProgrammingConstruct scalable too performant applications to accept wages of multi Asynchronous Android Programming, 2d Edition

About This Book

  • Construct scalable too performant applications to accept wages of multi-thread asynchronous techniques
  • Explore the high-level Android asynchronous constructs available on the Android SDK
  • Choose the almost appropriate asynchronous technique to implement your adjacent outstanding feature

Who This Book Is For
This mass is for Android developers who desire to acquire how to build multithreaded too reliable Android applications using high-level too advanced asynchronous techniques too concepts.

What You Will Learn

  • Get familiar amongst the Android procedure model too low-level concurrent too multithread constructs available on the Android SDK
  • Use AsyncTask to charge information inwards the background, delivering progress results inwards the meantime
  • Enhance UI functioning too responsiveness past times sending piece of employment to a service running inwards the background
  • Defer, schedule, too batch piece of employment on the Android organization without compromising the battery life too user experience
  • Use the JNI interface to execute concurrent piece of employment on native layer
  • Pull too force information from your network servers using the Google GCM platform
  • Create too compose tasks amongst RxJava to execute complex asynchronous piece of employment inwards a predictable way
  • Get accustomed to the move of the Android Loader build to deliver up-to-date results

In Detail
Asynchronous programming has acquired immense importance inwards Android programming, specially when nosotros desire to brand move of the set out of independent processing units (cores) available on the almost recent Android devices. To starting fourth dimension with, nosotros volition hash out the details of the Android procedure model too the Java low-level concurrent framework, delivered past times the Android SDK. Next, nosotros volition hash out the creation of IntentServices, saltation services, too external services, which tin run inwards the background fifty-fifty when the user is non interacting amongst them. In a to a greater extent than advanced phase, you lot volition exercise background tasks that are able to execute CPU-intensive tasks inwards native code–making move of the Android NDK.

You volition endure hence guided through the procedure of interacting amongst remote services asynchronously using the HTTP protocol or Google GCM Platform. Finally, nosotros volition innovate RxJava, a pop asynchronous Java framework used to compose piece of employment inwards a concise too reactive way.