Notice

The forum is in read only mode.

  • Page:
  • 1

TOPIC: How to keep application running on Android

How to keep application running on Android 8 years 2 months ago #1303

Hi,

I've developed a simple app using Delphi XE7 and MyDAC. The app connects to a database on a private server, reads some info and then sends a sms to an employee.
Everything works fine until the phone is locked or the home button of the phone is pressed. After that the app seems to be inactive. If i unlock the phone or return to the app, is starts working again.
Do you have any idea what the problem might be and how can i resolve it?

This is my first Android app, everything i've done before was Windows targeted.

Thanks!

How to keep application running on Android 8 years 2 months ago #1328

Use the steps outlined here:

blogs.embarcadero.com/pawelglowacki/2013/09/30/40067

Regards,
Brent

How to keep application running on Android 8 years 1 month ago #1371

You may want to program part of the app as a background service. The it will run regardless of what is happening in the UI.
  • Page:
  • 1
Moderators: April Anne