Here is what I want to know and achieve....

I have a bluetooth device which is not a phone-tablet-pc kind of device. 
It's a bluetooth dialer. It's already paired and connected with my froyo  
device before I install and run an application. I want to establish an 
RFCOMM connection with it and start on working with it if it's already 
connected.

Here is what I did

I have registered these broadcast listeners

ACTION_FOUND
ACTION_ACL_CONNECTED
ACTION_ACL_DISCONNECT_REQUESTED
ACTION_ACL_DISCONNECTED
ACTION_DISCOVERY_FINISHED
ACTION_DISCOVERY_STARTED
ACTION_STATE_CHANGED
ACTION_SCO_AUDIO_STATE_CHANGED

when I run my application I only recieve this broadcast 

ACTION_SCO_AUDIO_STATE_CHANGED
with
SCO_AUDIO_STATE_DISCONNECTED =0 as extra

Here is my question:

Is there any way to know whether any device is connected?? To be more 
specific get ACL_CONNECTED or similar method to get data about the 
connected device and start establishing RFCOMM connection with this??

Thanks
Prasham Trivedi

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

Reply via email to