We are working on an app that communicates with a Bluetooth device. As part of the requirements the app should be able to continue to do so in background mode, but not when the phone is locked. So we need a way/event to detect the lock/unlock actions.
We are using an SDK that needs to continuously scan for Bluetooth devices. If a device of interest, is found, it connects to the device, exchanges some information, and then disconnect.
We are using an SDK that needs to continuously scan for Bluetooth devices. If a device of interest, is found, it connects to the device, exchanges some information, and then disconnect.