Author: Andreas H57472
If you are developing Android applications with Delphi or C++Builder, you may want to perform background tasks for your app. This is simple to accomplish with Android Services. There is a fantastic CodeRage X replay on building Android Services with RAD Studio. Also, keep an eye out for the next CodeRage XI. The three days are jam-packed with sessions on quickly building apps in RAD Studio. You can register for CodeRage XI right now.
An Android Service is a background-tasking application that does not have a user interface. There are basically two kinds of services:
- A started service: This service is started by an Android application. The service can run in the background indefinitely, even if the application is closed. This type of service usually performs a single task and automatically stops after finishing.
- A bound service: This service only runs while it is bound to an Android application. There is an interaction between the application and the service, and it remains active until the application unbinds. More than one application can bind to the same service.