I am trying to find a way for my app to be able to query a bluetooth device name and address when it starts up, if the device is already connected, using the stock bluetooth connection (turn on bluetooth through android settings and select the device to connect too). I know I can do this with intents when a device connects, using a service and listening for the CONNECTED intent but if I stop the service then start it again the CONNECTED intent is not fired if the bluetooth device is already connected.
So my question is can you get the details of a bluetooth device that is already connected when an app starts up?
So my question is can you get the details of a bluetooth device that is already connected when an app starts up?