Hi All,
I'm trying to detect the presence of a particular Bluetooth device through a service.
I have the code working through an activity, I can detect all available devices into a list, when I select one particular device then I can remember that devices name & mac address, when I execute the next search for all devices my search will stop early if my remembered device is detected. I basically want to search for Bluetooth devices in the area when the phone is sleeping by using a service that runs every 1 minute.
I can get a service to work on a time basis every minute no problem but my Bluetooth does not appear to be searching when asked to do so through the service.
Anybody got any thoughts or comments?
Thanks in advance.
Tom
I'm trying to detect the presence of a particular Bluetooth device through a service.
I have the code working through an activity, I can detect all available devices into a list, when I select one particular device then I can remember that devices name & mac address, when I execute the next search for all devices my search will stop early if my remembered device is detected. I basically want to search for Bluetooth devices in the area when the phone is sleeping by using a service that runs every 1 minute.
I can get a service to work on a time basis every minute no problem but my Bluetooth does not appear to be searching when asked to do so through the service.
Anybody got any thoughts or comments?
Thanks in advance.
Tom