headset
In Android, how can I switch between a wired headset and an A2DP BT one?
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[详细]
2023-03-11 22:25 分类:问答AudioManager.isWiredHeadsetOn() is not working in android
I want to check whether heaset is plugged in or not... I did it like this AudioManager am = (AudioManager)getSystemService(AUDIO_SERVICE);[详细]
2023-03-10 11:18 分类:问答Invoking a private (unpublished) method in Android API
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[详细]
2023-03-06 01:47 分类:问答How to determine BT headset type (SCO or A2DP) in Android SDK?
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[详细]
2023-03-01 17:41 分类:问答How to detect if BT headset is connected in Android SDK?
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[详细]
2023-01-24 23:34 分类:问答ACTION_HEADSET_PLUG broadcast delay
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[详细]
2023-01-24 13:21 分类:问答How to route audio for incoming SCO connection?
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[详细]
2023-01-13 15:27 分类:问答Phone as Bluetooth Headset
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.[详细]
2023-01-08 15:44 分类:问答How to make Android phone as a bluetooth headset?
Yes, I know Android has already implemented the Bluetooth Headset Profile, but it is in Audio Gateway Role, not in HeadSet Role.[详细]
2023-01-05 17:04 分类:问答Any guidelines for handling the Headset and Bluetooth AVRC transport controls in Android 2.2
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-[详细]
2022-12-31 20:28 分类:问答
加载中,请稍侯......