Hi all,
I am developing a Data Field that allows runners in a race to send information to their parent's/coach's phone via bluetooth. I have also developed a companion app for iPhone and Android. The product works, sometimes... Because Data Fields are only allowed to open background (and thus send bluetooth information) once every 5 minutes, my app checks System.getDeviceSettings().phoneConnected before launching the background to fire the data to the phone. My problem is, System.getDeviceSettings().phoneConnected seems to require Garmin Connect to be open in the background. Thus, even though my phone app will state that the watch is connected, if Garmin isn't open, my watch has no idea that it is actually connected to my phone. My question is, is there a way for my watch to detect if my phone is connected without having to use the background?
Thanks in advance,
Lance