Capture audio via bluetooth - Windows Mobile Development and Hacking General

I need to get the audio input from the paired bluetooth headset with a windows mobile 6.0 (smart phone)
I would like to know how this can the following can be done
1. Programmatically getting the reference to the bluetooth headset
2. Receiving the audio input from the device and store it into the mobile.
Any information/samples would be helpful.
Thanks,
stephen

Related

MP3 via BlueTooth

I need to listen to MP3s throught the bluetooth headset.
I don't need a good sound quality - it's just for speech.
I just want to play that MP3 continuously (again and again) so I'd be able to put on paper as much as possible.
So is there a way to play a MP3 (or any other sound format) using the BT headset?
i think it require a bluetooth profile which the xda2 dont currently support
I use a SouthWing BT headset, bought on Ebay.co.uk for around £35.
It supports both the BT handsfree and headset profile, which the XDA2 supports too.
I can listen to MP3's or use it to take or make calls. You should be able to use any BT headset that supports the headset profile, most only support the handsfree mode.
MP3s through Bluetooth
I have a Plantronics M3000 headset when I bonded it with my XDA II I selected the option for the headset profile from BT Tools. When I switch on the headset mode from the Today Screen I get a bleep on the headset but no audio is transferred to the headset it still comes out of the speaker. Do I need to tweak any other settings?
Im guessing that the Plantronics is not fully compatable with the headset profile.
Thanks for any help.
Paul
Rudegar said:
i think it require a bluetooth profile which the xda2 dont currently support
Click to expand...
Click to collapse
OK. Where can I get the required BT profile? Does the Widcomm driver have it?
It normally works on my PC - I can listen to all sounds form PC throught the BT dongle and BT headset. So it's just a question of driver. Where can I get it for my XDA2?
captin said:
I use a SouthWing BT headset, bought on Ebay.co.uk for around £35.
It supports both the BT handsfree and headset profile, which the XDA2 supports too.
I can listen to MP3's or use it to take or make calls. You should be able to use any BT headset that supports the headset profile, most only support the handsfree mode.
Click to expand...
Click to collapse
Can u provide more details please? I couldn't find your mentioned headset from Ebay.co.uk
This ie the companies web site - http://www.south-wing.com/
When I was setting up the pairing on my XDAII it recognised the earpiece as having the headset protocol and asked if i wanted to connect using the headset profile or the handsfree profile, I chose the headset one. It still works perfectly as a handsfree earpiece but also allows me to listen to anything played with the windows media player, which i use for MP3's.
It also works with a PC using a bluetooth dongle, I use it as a handsfree phone for my home phone.
how does it handle music ?
i mean does it play one channel of the stereo
or does it play joind mono ?
to me listening to music with 1 ear is pretty useless
can you please also elaborate which rom version ? pocket BT tools installed or not? which BT stack?
the headset and handsfree profile are supported by MOST BT headsets
my jabra 250 suppprts both profiles, but I am never able to channel windows media output through the BT headset ((
so any info would be very insghtful
captin said:
This ie the companies web site - http://www.south-wing.com/
When I was setting up the pairing on my XDAII it recognised the earpiece as having the headset protocol and asked if i wanted to connect using the headset profile or the handsfree profile, I chose the headset one. It still works perfectly as a handsfree earpiece but also allows me to listen to anything played with the windows media player, which i use for MP3's.
It also works with a PC using a bluetooth dongle, I use it as a handsfree phone for my home phone.
Click to expand...
Click to collapse
Hi captin,
I had a look on the website. It didn't mention that the handsfree can support xda2. Also, there's no info at all that it can be used to listen mp3.
Can u show us more how you do it?
Thanks
mp3
ok friend to use your headset with xda2 to lesson to mp3 you need widcomstck you can find in our fourm and kai blutooth headset batch you can buy from handango in 3 dollars and you can give to our fourms instool both and make pairing with your headset and thats work fine but only mono beacuse we need blutooth headset streo and in the market only mono thanks
captin said:
I use a SouthWing BT headset, bought on Ebay.co.uk for around £35.
It supports both the BT handsfree and headset profile, which the XDA2 supports too.
I can listen to MP3's or use it to take or make calls. You should be able to use any BT headset that supports the headset profile, most only support the handsfree mode.
Click to expand...
Click to collapse
I think you must be the only person on the planet that has mp3 working through bluetooth without any patches/hacks/etc, can you please elaborate more because it doesnt work for anybody else.
I am using a Plantronics M1000 (M1500) with iMate 1.52.00WWE.
With Pocket Bluetooth Tools I can use it for Phone calls but not MP3.
Annoyances are -
1. I can't initiate dialling from teh Headset unless I dial from the phone and then hangup (even if BT permanently on).
2. If I leave BT permanently on the Headset battery goes flat very quickly in standby.
3. If a Call comes in on Call Waiting, the call transfers to the phone and I can't get it back to the Headset
Mike Sydney
Any more news on this? The world waits...
Bluetooth/XDA 11 Integration
Hi Guys,
Just thought I would let you know that New Answer Ltd have done bespoke integration work into Bluetooth headsets. For the application that you are talking about, it is possible to develop an app to run MP audio apps to any bluetooth headset. get intouch with [email protected]
Dan
Yesterday, I tried w/ Kai's Bluetooth Headset patch
I've found that it doesn't work with XDAII.
So, I'm still waiting for the new patch.
Besides, does anyone know what Tobias, Pocket Tools developer, is doing?
I've sent emails to him serveral timee But there is no reply. His website also stop progressing as well.
Headset Profile
So, the XDA 2 does not have the profile that allows MP3's to be played through a headset. But does anyone know a profile that allows voice dialing from the headset? South-Wing has voice dialing from the headset but captin is the only person i know who has it working on the XDA 2. Anyone got any suggestions?
Michael
Re: Headset Profile
mlee2 said:
So, the XDA 2 does not have the profile that allows MP3's to be played through a headset. But does anyone know a profile that allows voice dialing from the headset? South-Wing has voice dialing from the headset but captin is the only person i know who has it working on the XDA 2. Anyone got any suggestions?
Michael
Click to expand...
Click to collapse
Unfortunately, it's not as simple as just a profile. Since a third party voice dialing software has to be manually added to the XDA II (its not built in), the headset would have no way of knowing which application to "activate" when the headset button was pressed. The only way I see this happening is, if someone can hack the bluetooth stack to detect a headset button press, then route the command to a voice dial software installed on the XDA II. Ideally, the dll would have an interface that would allow you to select the application you want executed when the bluetooth headset button is pressed.
Rumor has it that the iPaq 6300 won't have voice activated dialing either - and it will have the best bluetooth software stack around, the Widcomm stack. If it won't support it, I wouldn't have much hope for the XDA II unless some hacker decides to give it a try. But it sounds like a lot of work.
Reply from South Wing
I sent a email to South Wing about compatibility with the XDA 2 and i got this reply
The XDA II does not support the Bluetooth hands-free profile which is used by the NeoVoice USB headset and gives access to the various hands-free mode features of the device.
However, it supports the headset profile also supported by the NeoVoice USB. This means you can make and receive calls perfectly and use functions of the headset like voice dialing.
Overall, without the hands-free mode capability, the features you would miss on are only the following ones: rejecting a call, transferring a call to the phone, last number redialing and disconnecting from the phone.
The headset is available online from expansys.com (type NeoVoice in the search box) where you may acquire the USB cable and car charger for little more.
There you have it from the horses mouth, hope this is some help
Michael
Re: Reply from South Wing
mlee2 said:
However, it supports the headset profile also supported by the NeoVoice USB. This means you can make and receive calls perfectly and use functions of the headset like voice dialing.
Click to expand...
Click to collapse
Hmmm. Interesting. But I still don't see how voice dialing can be supported through the headset. Again, the XDA II has no built in voice dialing software, so there's nothing to standardize on. Therefore, your only option is a third party dialing app. So, if you were to install something like Microsoft's Voice Dial, the headset would have no way of knowing that it needs to call the Microsoft Voice Dial EXE when you press the headset button. Other bluetooth phones that do support voice dial can use headsets that, when you press the headset button, can call standard API's that initiate the voice dialing capability on the phone. The XDA II does not have this standard API set.
Anyway, I'm still more interested in pushing standard sound like MP3's and audio books through the BT headset. But the voice dialing stuff is interesting nonetheless.

Wireless Stereo profile (A2DP) with JABRA BT500: Possible???

I've seen many posts about Bluetooth Stereo Headsets showing a Wireless Stereo profile when using A2DP implementation.
But I have a Jabra BT500 mono headset. Is it possible to make it be recognized as a stereo headset, when A2DP is applied?
I used the tweaks described on "A2DP support for 818pro" topic, but the extra option described (Wireless Stereo) doesn't show. I keep getting only the "Hands Free" option.
BTW, I'm using Qtek S200 updated with latest Dopod 818 Pro ROM (contains AKU2 and A2DP).
Enabling A2DP in your ROM will allow the device to connect to A2DP enabled devices in Wireless Stereo mode. When you make a bluetooth connection to a device the phone will query that device to find out what services it offers, then it will report back the ones that it understands and give you the option to connect to them. Since you BT500 is mono it would be pointless for it to have a wireless stereo service stored in its firmware, and why you would want to try connect to it in stereo mode is a bit confusing. If you're trying to use your headset as a mono ear plug for listening to music there is one thing you can do. Get voice command installed, edit the registry to get voice command running when you press the button on your headset (not sure if your S200 supports voice dial but if it does then you should be able to do this), then when you press the B500's button voice command will run and the bluetooth connection to the headset will stay active until you press the button again.

Music to your BT headset

Hi all,
BlueMusic is a software that will allow you to listen to music played on your PocketPC with your Bluetooth headsets. It's now easy to listen to your MP3s and many other audio formats, wherever you are with your Wireless Bluetooth Headset. The software is capable of controlling the voice routing. Not only the speaker sound is routed, but also the microphone input. Now you can use your Bluetooth Headset together with Voice Over IP (VoIP) software installed on your device. This software also works with Skype.
Note: this software was created for pocket pc's with windows mobile 2005. pocket pc 2003 wont work with BlueMusic. We might add the support for 2003 in later versions.
Even if your headset does not support it the software will add this feature. Use it for Voip apps or to record notes directly from your bt headset!!
A more detailed description and install files at http://www.teksoftco.com/
for the trial version.
Feedback is more than welcomed here:
http://teksoftco.com/forum/viewtopic.php?t=162
Cheers,
Raul
a0aa7130b6fd13dda5e5eca45b2cf09ca2ec024e

Need development help on a Touch

I have a Sprint 6900 Touch running the stock version of WM6.1. If I enable the Bluetooth audio gateway using acbToggleBT, to listen to music, the volume is low. Its also low when I enable Voice Command through the Bluetooth headset. If my wired stereo headset is plugged into the bottom of the phone and I enable the Bluetooth audio gateway using acbToggleBT then it sounds great. I have tried several things to figure out what is going on and have come to one possible solution.
I need an application that would force my phone into the headset profile. If I enable the Bluetooth gateway without a headset plugged in I believe the phone is in the hands-free profile and not the headset profile. I know I can do this manually by plug-in in the headset connector but can this be done via a program? I would like to have a program launch the headset profile then launch the Bluetooth audio gateway.
I also posted more information here:
http://forum.xda-developers.com/showthread.php?t=431244
Thanks!

A2DP from windows mobile 6 to hearing aids?

Hi!
I'm not sure if this is the right forum, so if I am wring, please let me know where to post it.
I would like to use my older smartphone (an HTC touch diamond 1) as an mp3 player for my daughter. She has hearing aids capable of using bluetooth, the device actually receiving bluetooth is known as "Oticon Streamer".
I tried installing A2DP toggler, the program seems to work in general (I can connect to the Oticon Streamer, it is recognized as bluetooth headset, I can only switch A2DP on while streamer is actually on and connected), but eventually it does not work: sound comes always and only through the speakers. For playing music (mostly mp3) I am using mort player.
Do I need special software for playing music files when I want to send them to A2DP or is there something I could try to make it working?
Any ideas are appreciated! Thanks!
You don't need any 3rd-party add-on/SW to get bluetooth working for A2DP. The MS bluetooth stack on WM6.1 on HTC diamond1 should have everything you need. I have the same HTC phone and I also use BT stereo headsets which supports A2DP. Just pair the hearing aids if it supports A2DP.

Categories

Resources