Jump to content
Sign in to follow this  
Turan Can

Program running in the background or foreground

Recommended Posts

Hi All,

 

The foreground program works fine.
However, when I open another program, it becomes disabled after a short while.
What do we need to do to keep the background work going?

 

I tried a thing or two but it didn't work.

This feature exists but I couldn't find Delphide ..?
"Use <android.permission.FOREGROUND_SERVICE permission: name ="
"

 

Uses Permissions - RAD Studio (embarcadero.com)

 

 

 

 

Capture.PNG

Share this post


Link to post
Guest
14 hours ago, Turan Can said:

"Use <android.permission.FOREGROUND_SERVICE permission: name ="

when you use a property (statement) not usual in the IDE options, then, you need "add" it mannually in your "Manifest" file, in the section pertinent!

https://developer.android.com/reference/android/Manifest.permission#FOREGROUND_SERVICE

https://medium.com/@debuggingisfun/android-pie-foreground-service-340b98e9f198

 

hug

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×