I've been trying to resolve a bluetooth connection problem between my app 
and service running on my laptop. I've paired my phone, a Nexus S 4G 
running AOSP 4.1.1, with my laptop through the System Settings. In my app, 
I'm unable to connect to my service over this pairing. However, if I go 
back into System Settings, Bluetooth Settings Activity, and select my 
laptop, the Bluetooth Settings Activity lists the laptop as selected and 
the Notification Bar icon for Bluetooth changes from grey to blue. Now, my 
app can connect just fine. If I disconnect from my laptop through the 
Bluetooth Settings Activity, my app can no longer connect. My understanding 
was that I only needed to be paired/bonded with a device to make a 
bluetooth connection. Why do I have to explicitly connect through the 
System/Bluetooth Settings before being able to connect in my app? I've 
tried both secure and insecure RfcommSocketToServiceRecord calls.

Any help is greatly appreciated! Thank you!

My source code is here:

https://github.com/piusvelte/RemoteAuthClient

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to