Auto connect to Bluetooth in background.

HentzeHentze Member ✭✭

Hi,

I am making a app, where I connect to a device, save the device on the phone and device numer on the cloud. Then when the device has som data to the app, I receive the data and push it to the cloud. No problem so fare.

But I want the app to do this on it own. To listen for the device(s) connect, get data, push to the cloud and sleep again.
I am not looking for at timer for this, but want it to connect if the deivce has some data. Or something like, if the device is nearby, then connect and do the same task again.

If someone can help that would be very nice..:)

Sign In or Register to comment.