RAD Studio 10.4.1 is now available! Learn more. Looking for discounts? Visit our Special Offers page!
C++

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

Author: Andreas H57472

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.

 



Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Learn More About Upgrading

Related posts
CodeDelphiRAD Studio

Learn How To Use FireDAC In The Dynamic-Link Libraries With DLL Sharing Sample In Delphi

CodeDelphiRAD StudioTech Partner

Powerful Cross Platform TeeGrid Is Capable Of Handling A Large Number Of Cells In Delphi FireMonkey

CodeDelphiRAD Studio

Learn How To Use Connection Pooling With A Multi-threaded Environment In Delphi

CodeDatabaseDelphiRAD Studio

Quickly Share Data Between Datasets Using CloneCursor In This Native Windows Sample For Delphi

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES