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 don't
know if it's because the chat program is only looking for a particular
profile or not.
Thanks
On Mon, May 24, 2010 at 4:00 PM, DonFrench <[email protected]> wrote:
> Have you looked at the BluetoothChat example? It does what you want.
>
> On May 23, 10:03 am, Jake Maui <[email protected]> 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 that connection is dropped to that I
> may
> > execute an action based on that connection.
> >
> > Thanks
> >
> > --
> > 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]<android-developers%[email protected]>
> > For more options, visit this group athttp://
> groups.google.com/group/android-developers?hl=en
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
--
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