Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

Foreground Service In FMX Android Development

$
0
0

Dear Sir,

I am trying to create a service application in FMX Android (Delphi XE10.1 Berlin Update 2) but when the host app is in foreground or in background everything works well. However, if I close the host app service stops as well.

I know that in android if the service is declared to run in the foreground, it's rarely killed. So is there a way to create a foreground service in FMX and if yes can you provide us an example ?

 

Thank you very much in advance for your answer.


Viewing all articles
Browse latest Browse all 1963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>