JackKirk Well-Known Member Licensed User Longtime User Aug 5, 2025 #1 In an attempt to get a B4A app to start on boot I installed Erels background location tracking example at https://www.b4x.com/android/forum/threads/background-location-tracking.99873/ I updated my OS to Android 16 and I cannot seem to get the app to automatically start on restart. Any assistance appreciated...
In an attempt to get a B4A app to start on boot I installed Erels background location tracking example at https://www.b4x.com/android/forum/threads/background-location-tracking.99873/ I updated my OS to Android 16 and I cannot seem to get the app to automatically start on restart. Any assistance appreciated...
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2025 #2 Downloaded and tested the example as-is. It works properly on Android 16. You do need to give the app the "allow always access" which can be a bit confusing to set. And you should of course run it in release mode. And check the logs, it should look like this after a restart: --------- beginning of main *** Receiver (startatbootreceiver) Receive (first time) *** *** Service (starter) Create *** ** Service (starter) Start ** ** Service (tracker) Create ** ** Service (tracker) Start ** Upvote 0
Downloaded and tested the example as-is. It works properly on Android 16. You do need to give the app the "allow always access" which can be a bit confusing to set. And you should of course run it in release mode. And check the logs, it should look like this after a restart: --------- beginning of main *** Receiver (startatbootreceiver) Receive (first time) *** *** Service (starter) Create *** ** Service (starter) Start ** ** Service (tracker) Create ** ** Service (tracker) Start **