Asynchronous Android Programming

Asynchronous Android Programming
by: Helder Vasconcelos (Author),Steve Liles(Author)
Publisher:Packt Publishing
Publication Date: 29 July 2016
Language:English
Print Length:394 pages
ISBN-10:1785883240
ISBN-13:9781785883248


Book Description
About This BookConstruct scalable and performant applications to take advantage of multi-thread asynchronous techniquesExplore the high-level Android asynchronous constructs available on the Android SDKChoose the most appropriate asynchronous technique to implement your next outstanding feature
Who this book is forThis book is for Android developers who want to learn how to build multithreaded and reliable Android applications using high-level and advanced asynchronous techniques and concepts.
What you will learnGet familiar with the Android process model and low-level concurrent and multithread constructs available on the Android SDKUse AsyncTask to load data in the background, delivering progress results in the meantimeEnhance UI performance and responsiveness by sending work to a service running in the backgroundDefer, schedule, and batch work on the Android system without compromising the battery life and user experienceUse the JNI interface to execute concurrent work on native layerPull and push data from your network servers using the Google GCM platformCreate and compose tasks with RxJava to execute complex asynchronous work in a predictable wayGet accustomed to the use of the Android Loader construct to deliver up-to-date resultsIn DetailAsynchronous 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. To start with, we will discuss the details of the Android process model and the Java low-level concurrent framework, delivered by the Android SDK. 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 them. In a more advanced phase, you will create background tasks that are able to execute CPU-intensive tasks in 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. Finally, we will introduce RxJava, a popular asynchronous Java framework used to compose work in a concise and reactive way.

About the Author

About the Author Helder Vasconcelos is Software Engineer based on Dublin, Ireland, with more than 10 years of experience designing and developing real-time/multithreaded Java and C++ applications for the telecommunications and aviation industry. Apart from his day-to-day job, he occupies his spare time building native Android applications for Bearstouch Software and other third-party companies. He graduated with a degree in Electronic & Telecommunications Engineering from the University of Aveiro in January 2006. During his career, he has worked as a Software Engineer for companies such as PT Inovacao (Portugal), Airtel ATN (Dublin, Ireland) and Axway (Dublin, Ireland). You can find Helder on LinkedIn at https://ie.linkedin.com/in/heldervasc/en) or on his website at http://hvasconcelos.github.io).

资源下载资源下载价格10立即购买
1111

未经允许不得转载:电子书百科大全 » Asynchronous Android Programming

评论 0

评论前必须登录!

登陆 注册