[android-developers] Re: Bluetooth question regarding observing a pairing

2010-05-25 Thread DonFrench
Like I said, that is what the BluetoothChat example does. Use the same code. On May 25, 3:13 pm, Jake Maui wrote: > Don, >   I'm using my actual phone using the USB debugging feature.  Ultimately I > would like to know when my phone is paired with my bluetooth in my car and > when the connection

Re: [android-developers] Re: Bluetooth question regarding observing a pairing

2010-05-25 Thread Jake Maui
Don, I'm using my actual phone using the USB debugging feature. Ultimately I would like to know when my phone is paired with my bluetooth in my car and when the connection is dropped. Thanks -Kurt On Tue, May 25, 2010 at 10:28 AM, DonFrench wrote: > The BluetoothChat program is looking for

[android-developers] Re: Bluetooth question regarding observing a pairing

2010-05-25 Thread DonFrench
The BluetoothChat program is looking for a service with a specific UUID and you need to change it to match the service you are looking for. For the Serial Port Profile (SPP), the correct UUID is 0003--1000-8000-00805F9B34FB. However, unless something has changed very recently, I do not bel

Re: [android-developers] Re: Bluetooth question regarding observing a pairing

2010-05-25 Thread Jake Maui
Don, I'm trying to observe when my phone connects/disconnects from my PC by running the BluetoothChat in the debugger. I can see in the console that my phone is connecting for *AVRCP profile* but the break point doesn't stop in the setState method. I don't know enough about bluetooth yet so I

[android-developers] Re: Bluetooth question regarding observing a pairing

2010-05-24 Thread DonFrench
Have you looked at the BluetoothChat example? It does what you want. On May 23, 10:03 am, Jake Maui wrote: > Is there a way to observe a bluetooth pairing and then be aware of when the > connection no longer exists?  Basically I want to observe when my phone > connects to another device and what