Background Tasks And Inter-App Communication With Android Services And Intents In Delphi And C++Builder

by Nov 8, 2016

If you are building Android applications with Delphi or C++Builder you may be wanting to perform tasks in the background for your app. You can easily do this with Android Services. There is a great CodeRage X replay all about building Android Services with RAD Studio. Be sure to check out the next CodeRage XI as well. There are three days packed with all kinds of sessions about quickly building your apps in RAD Studio. You can sign up for CodeRage XI right here.


An Android Service is an application without user interface that performs background tasks. There are essentially two types of services:

  • 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.
  • 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.