Hello friends,
Does anyone know how it is possible to keep bluetooth running when the app goes in the background?
So far it is that it stops scanning when the ap goes into the background.
I use this program to try:
The GPS continues to run in the background, but the BLE scanning just stops.
So only the Bluetooth does not continue.
Attached is my project file to try out.
Does anyone know how it is possible to keep bluetooth running when the app goes in the background?
So far it is that it stops scanning when the ap goes into the background.
I use this program to try:
Background location tracking
Simple example of a foreground service that keeps the process running in the background. The current location is shown in the persistent notification. The app starts at boot and theoretically should run all the time. It also schedules itself to run with StartServiceAt. This can help in cases...
www.b4x.com
The GPS continues to run in the background, but the BLE scanning just stops.
So only the Bluetooth does not continue.
Attached is my project file to try out.