May 2019
Intermediate to advanced
504 pages
11h 50m
English
On the Android platform, the background process can be implemented as services. Services are execution modules that can be initiated on demand or with a schedule. For instance, a started service can be initiated with an intent. This would run until it is requested to be terminated (or self-terminates). Here, it is important to note that there is no direct communication between the process that initiated the service and the service itself, once the intent is actualized.
In order to implement a simple started service, you would need to implement the Service class and decorate the started service's ServiceAttribute attribute so that it can be included in the application manifest:
[Service] public class MyStartedService : Service ...
Read now
Unlock full access