->
Oreilly - Hands-on Background Services in Android - 9781788993807
Oreilly - Hands-on Background Services in Android
by Book of Brains | Publisher: Packt Publishing | Release Date: April 2018 | ISBN: 9781788993807


Implement background services into Android AppsAbout This VideoA comprehensive guide to building powerful background capabilities into Android apps.Covers the latest techniques and code examples of Android.Delve into using Android's background service capabilities effectively.In DetailThis course helps developers who want to build applications working in the background, by exposing you to using Android Background Service capabilities effectively. Services come out as the best option with backward app compatibility. You will learn a variety of topics like starting and stopping your service, interacting with the background service and creating and sending a work request, exploring the lifecycle of your service along with understanding the security issues in using it. You will learn to use IntentService, which utilizes a worker or background thread to execute tasks. You will explore what's new in the Background Service in Android Oreo and check out its limitations, and then overcome those limitations. You will then learn best practices and how to deal with problems and issues that might ariseBy the end of the course, you will have a strong foundation in background services in Android and will be able to build the function you need to ensure you won't drain the battery excessively, compromise the user's security, consume too much data, or hamper the device's performance.All the code and supporting materials for this course can be found at- https://github.com/PacktPublishing/Hands-on-Background-Services-in-Android
  1. Chapter 1 : Exploring Background Service in Practical Apps
    • The Course Overview 00:06:37
    • Exploring Android Components 00:02:36
    • Exploring Activity, Broadcast Receiver, and Content Provider 00:09:19
    • Introduction to Service 00:05:11
    • Types of Service 00:04:52
    • Foreground Versus Background Service 00:09:59
    • Understanding Threads and Processes 00:06:43
    • Different Ways to Perform Background Operations 00:02:48
  2. Chapter 2 : Creating a Background Service
    • Project Setup 00:05:36
    • Implementing Background Service 00:06:09
    • Start and Stop a Background Service 00:06:42
    • Return Flags for Background Service 00:03:44
    • Background Service Runs in Main Thread 00:05:26
    • Using AsyncTask with Background Service 00:10:05
  3. Chapter 3 : Working with IntentService That Uses Worker Thread
    • Why IntentService? 00:06:19
    • Performing Operations Using IntentService in a Worker Thread 00:09:34
    • Started Service Versus IntentService 00:02:27
  4. Chapter 4 : Interacting with Background Service
    • Create and Send a Work Request to an IntentService 00:06:18
    • Use Local Broadcasts to Interact with Background Service 00:03:10
    • Reporting Work Status to the Calling Component 00:10:13
  5. Chapter 5 : Exploring the Lifecycle of a Service
    • Exploring Lifecycle of Started Service 00:06:52
    • Importance of Lifecycle Methods 00:02:37
    • Enhancing Application Security Using Started Service 00:06:33
  6. Chapter 6 : Background Service Limitations and Work Around
    • What’s New for Background Execution in Android Oreo 00:08:31
    • Background Service Limitation 00:11:23
    • Work Around – JobIntentService 00:04:14
    • Demo – JobIntentService 00:11:55
  7. Chapter 7 : Troubleshooting Background Service
    • Best Practices for Implementing Background Service in Apps 00:04:44
    • In Conclusion the Next Steps 00:01:28
  8. Oreilly - Hands-on Background Services in Android


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Coktum   |  

Information
Members of Guests cannot leave comments.




rss