Click here to Skip to main content
15,868,349 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi All,

This might sound a bit vague. I wanted to use Bluetooth headphones to record and play audio in my Windows Phone 8.1 App. The phone application already has the recording and playing capability through wired headphones and direct microphone/speaker interfaces.

I tried to use a Bluetooth headphone to make the recording. I was able to do that with Windows Surface device, but not in Windows Phone.

In surface we could make our device's mic to be mute and make the Bluetooth headphone's mic to be active which did the trick. But I think this is not possible in Windows Phone.

I did some research in Google and found that a Bluetooth device can be connected to a Windows based application through three ways. 1. SocketConnection, 2. Bluetooth RFCOMM and 3. Bluetooth GATT. There are namespaces and stuffs related to these items.

But I'm not sure under which category does Bluetooth headphones fall in?
1. SocketConnection requires ServiceName (COM port numbers) to connect, which is not required for Bluetooth Headphones to get paired and connected
2. RFCOMM essentially supports OBEX and support file transfers kind of operations which is not my case
3. GATT supports Bluetooth LE device operations which also does not suit for the Headphones.

I'm not sure what to do next. Please suggest on how to incorporate this feature in the app.

Thanks in advance.
Posted
Updated 19-Aug-15 23:45pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900