Asynchronous Android Programming, 2nd Edition

Unlock the power of multi-core mobile devices to build responsive and reactive Android applications



Bookstore > Books > Asynchronous Android Programming, 2nd Edition

Price$34.99 - $49.99
Rating
AuthorHelder Vasconcelos
PublisherPackt Publishing
Published2016
Pages394
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101785883240
ISBN-139781785883248
EBook Hardcover Paperback

Asynchronous programming has acquired immense importance in Android programming, especially when we want to make use of the number of independent processing units (cores) available on the most recent Android devices. With this guide in your hands you'll be able to bring the power of Asynchronous programming to your own projects, and make your Android apps more powerful than ever before!

To start with, we will discuss the details of the Android Process model and the Java Low Level Concurrent Framework, delivered by Android SDK. We will also guide you through the high-level Android-specific constructs available on the SDK: Handler, AsyncTask, and Loader. Next, we will discuss the creation of IntentServices, Bound Services and External Services, which can run in the background even when the user is not interacting with it. You will also discover AlarmManager and JobScheduler APIs, which are used to schedule and defer work without sacrificing the battery life. In a more advanced phase, you will create background tasks that are able to execute CPU-intensive tasks in a native code-making use of the Android NDK. You will be then guided through the process of interacting with remote services asynchronously using the HTTP protocol or Google GCM Platform. Using the EventBus library, we will also show how to use the Publish-Subscribe software pattern to simplify communication between the different Android application components by decoupling the event producer from event consumer.




5 5 8

Similar Books


Learning Swift 2 Programming, 2nd Edition

Learning Swift 2 Programming, 2nd Edition

by Jacob Schatz

Learning Swift 2 Programming is a fast-paced, hands-on introduction to writing production-quality iOS and OS X apps with Apple's programming language. Written for developers with experience in any modern language, this book explains Swift simply and clearly, using relevant examples that solve realistic problems.Author Jacob Schatz�...

Price:  $28.32  |  Publisher:  Addison-Wesley  |  Release:  2015

Learn Java for Android Development, 2nd Edition

Learn Java for Android Development, 2nd Edition

by Jeff Friesen

Android development is hot, and many programmers are interested in joining the fun. However, because this technology is based on Java, you should first obtain a solid grasp of the Java language and its foundational APIs to improve your chances of succeeding as an Android app developer. After all, you will be busy learning the architecture...

Price:  $3.65  |  Publisher:  Apress  |  Release:  2013

Node.js in Action, 2nd Edition

Node.js in Action, 2nd Edition

by Alex Young, Bradley Meck, Mike Cantelon, Tim Oxley, Marc Harter, T.J. Holowaychuk, Nathan Rajlich

You already know JavaScript. The trick to mastering Node.js is learning how to build applications that fully exploit its powerful asynchronous event handling and non-blocking I/O features. The Node server radically simplifies event-driven real-time apps like chat, games, and live data analytics, and with its incredibly rich ecosystem of m...

Price:  $25.18  |  Publisher:  Manning  |  Release:  2017

Pro PHP Security, 2nd Edition

Pro PHP Security, 2nd Edition

by Chris Snyder, Thomas Myer, Michael Southwell

PHP security, just like PHP itself, has advanced. Updated for PHP 5.3, the 2nd edition of this authoritative PHP security book covers foundational PHP security topics like SQL injection, XSS, user authentication, and secure PHP development. Chris Snyder and Tom Myer also delve into recent developments like mobile security, the impact of J...

Price:  $39.99  |  Publisher:  Apress  |  Release:  2010

Android Recipes, 2nd Edition

Android Recipes, 2nd Edition

by Dave Smith, Jeff Friesen

Android continues to be one of the leading mobile OS and development platforms driving today's mobile innovations and the apps ecosystem. Android appears complex, but offers a variety of organized development kits to those coming into Android with differing programming language skill sets.Android Recipes: A Problem-Solution Approach,...

Price:  $44.98  |  Publisher:  Apress  |  Release:  2012

Java Persistence with Hibernate, 2nd Edition

Java Persistence with Hibernate, 2nd Edition

by Christian Bauer, Gavin King, Gary Gregory

Java Persistence with Hibernate, 2nd Edition explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate, working through mappings, queries, fetching strategies, transactions, conversations, caching, and more. Along the way you...

Price:  $39.99  |  Publisher:  Manning  |  Release:  2015

Angular Development with Typescript, 2nd Edition

Angular Development with Typescript, 2nd Edition

by Yakov Fain, Anton Moiseev

Angular Development with TypeScript, 2nd Edition is an intermediate-level tutorial that introduces Angular and TypeScript to developers comfortable with building web applications using other frameworks and tools.Whether you're building lightweight web clients or full-featured SPAs, Angular is a clear choice. The Angular framework is ...

Price:  $39.99  |  Publisher:  Manning  |  Release:  2018

Practical Data Science with R, 2nd Edition

Practical Data Science with R, 2nd Edition

by Nina Zumel, John Mount

Practical Data Science with R, Second Edition takes a practice-oriented approach to explaining basic principles in the ever expanding field of data science. You'll jump right to real-world use cases as you apply the R programming language and statistical analysis techniques to carefully explained examples based in marketing, business...

Price:  $39.99  |  Publisher:  Manning  |  Release:  2019