I have a background Service which must run permanently. The service just has to interact with my Activity.
How to i check on activity resume if the service is
Start the service in startforeground(). It will increase the timespan of the service.
startforeground()