I am learning about background GPS/GNSS using the Background location tracking example here: https://www.b4x.com/android/forum/threads/99873/#content
This works very well on my Android 12 device (Motorola G51) and location continues to be displayed when the app is in the background.
However, I cannot display locations using "run at boot" which I've assumed that the location will start being notified after the device has booted. After reading elsewhere in this forum, I now understand that "RunAtBoot: True" is no longer supported within a service. and I need to update to a Receiver module instead.
So I have tried to adapt the Tracker service module to a Receiver module instead, although so far without success.
Is this the correct approach? If someone provide guidance I would be enormously appreciative.
Many thanks,
Ralph
This works very well on my Android 12 device (Motorola G51) and location continues to be displayed when the app is in the background.
However, I cannot display locations using "run at boot" which I've assumed that the location will start being notified after the device has booted. After reading elsewhere in this forum, I now understand that "RunAtBoot: True" is no longer supported within a service. and I need to update to a Receiver module instead.
So I have tried to adapt the Tracker service module to a Receiver module instead, although so far without success.
Is this the correct approach? If someone provide guidance I would be enormously appreciative.
Many thanks,
Ralph