I tried the MyLocation example, but when i turn off notifications for the app in my phone, the foreground Tracker service crashes after a few hours.
The main goal is to not pollute the status bar.
I am new to B4A (but experienced in VB.net). What should i do to keep the service alive?
I know it can be done in other apps (like Open Radio). Searching keeps me going in circles.
Hope anyone can help me out.
Hi Erel, thanks for responding so soon.
The "MyLocation" example has a foreground service.
So if i do understand you right, what i want can't be done in B4A and the apps where it is possible are made by android studio or so?
A workaround seems to be switching off battery optimization firom the app.