پیشنهاد فرادرس

آموزش Background Service در اندروید

دسته بندی ها: آموزش برنامه نویسی اندروید (Android) ، آموزش های Packtpub ، برنامه نویسی موبایل

این دوره به برنامه نویسانی کمک می کند که می خواهند با بکار گیری  Android Background Service اپلیکیشن هایی بسازند که در پس زمینه کار کنند. در این دوره با شروع و توقف سرویس خود، تعامل با سرویس پس زمینه و ایجاد و ارسال یک درخواست کار، کشف چرخه خدمات خود همراه با درک مسائل امنیتی در استفاده از آن، استفاده از IntentService، استفاده از thread پس زمینه برای اجرای تسک ها، ویژگی های جدید Background Service در Android Oreo و غیره آشنا می شوید.

سرفصل:

  • معرفی دوره
  • بررسی کامپوننت های اندروید
  • معرفی سرویس
  • انواع سرویس
  • سرویس پس زمینه در مقابل پیش زمینه
  • درک Threads و فرآیندها
  • ایجاد سرویس پس زمینه
  • راه اندازی پروژه
  • پیاده سازی سرویس پس زمینه
  • شروع و توقف سرویس پس زمینه
  • سرویس پس زمینه در Thread اصلی اجرا می شود.
  • استفاده از AsyncTask در سرویس پس زمینه
  • چرا IntentService؟
  • کار با IntentService
  • انجام عملیات با IntentService در Worker Thread
  • تعامل با سرویس پس زمینه
  • Started Service در مقابل IntentService
  • ایجاد و ارسال یک درخواست کار به یک IntentService
  • بررسی چرخه حیات سرویس
  • اهمیت متدهای چرخه حیات
  • بهبود امنیت اپلیکیشن با Started Service
  • محدودیت های سرویس پس زمینه
  • عیب یابی سرویس پس زمینه
  • و غیره
Hands-on Background Services in Android [Video] Publisher:Packtpub Author:Book of Brains Duration:3 hours and 2 minutes

Implement background services into Android Apps
This 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 arise
By 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
Style and Approach
A comprehensive course packed with step-by-step instructions, working examples, and helpful advice on working with Android Background services. This course is divided into clear chunks so you can learn at your own pace and focus on your own area of interest.
Released: Friday, April 27, 2018
Exploring Background Service in Practical Apps
The Course Overview
Exploring Android Components
Exploring Activity, Broadcast Receiver, and Content Provider
Introduction to Service
Types of Service
Foreground Versus Background Service
Understanding Threads and Processes
Different Ways to Perform Background Operations
Creating a Background Service
Project Setup
Implementing Background Service
Start and Stop a Background Service
Return Flags for Background Service
Background Service Runs in Main Thread
Using AsyncTask with Background Service
Working with IntentService That Uses Worker Thread
Why IntentService?
Performing Operations Using IntentService in a Worker Thread
Started Service Versus IntentService
Interacting with Background Service
Create and Send a Work Request to an IntentService
Use Local Broadcasts to Interact with Background Service
Reporting Work Status to the Calling Component
Exploring the Lifecycle of a Service
Exploring Lifecycle of Started Service
Importance of Lifecycle Methods
Enhancing Application Security Using Started Service
Background Service Limitations and Work Around
What’s New for Background Execution in Android Oreo
Background Service Limitation
Work Around – JobIntentService
Demo – JobIntentService
Troubleshooting Background Service
Best Practices for Implementing Background Service in Apps
In Conclusion the Next Steps

پیشنهاد فرادرس

لینک های دانلود حجم فایل: 483.0MB Packtpub Hands-on Background Services in Android [Video]_git.ir.rar
captcha