In my app, I allow the user to switch the audio output between the internal handset speaker, the speakerphone, and a stereo BT (A2DP) headset. If a wired headset is plugged in, it\'s impossible to sel
I want to check whether heaset is plugged in or not... I did it like this AudioManager am = (AudioManager)getSystemService(AUDIO_SERVICE);
I need to check which BT headsets are currently connected (not just paired) in OS 2.0 - 2.3. Such functionality doesn\'t exist until API version 11, where a Bluetooth Headset class was introduced. But
I have a broadcast receiver in my app that logs every connection of a BT device by tracking the android.bluetooth.device.action.ACL_CONNECTED broadcast. But I need to know if the BT device isa headset
I made an app that plays back audio files, and has an option to switch the audio path between the headset, speaker, and a BT headset. However, I can\'t figure out a way to have the app detect if there
I have my own BroadcastReceiver instance for In开发者_StackOverflowtent.ACTION_HEADSET_PLUG action. There is about 1-2 seconds delay between actual physical unplugging a headset and a moment when my B
I\'m developing a headset/handsfree app and run it in a demoboard.After connecting to a phone successfully and when the app is reading data from the phone,I call or play music with the phone.The phone
I need my phone to act like a Bluetooth headset. I am planning to 开发者_开发百科run a J2ME application in Phone to make Phone as Bluetooth Headset.
Yes, I know Android has already implemented the Bluetooth Headset Profile, but it is in Audio Gateway Role, not in HeadSet Role.
I am trying to figure out what is the correct (new) approach for handling the Intent.ACTION_MEDIA_BUTTON in Froyo. In pre 2.2 days we had to register a BroadcastReceiver (either permanently or at run-