[Q] Connect bluetooth device, but let the phone handle it - Android Software Development

Hello,
I have a bluetooth headset and I switch the connection constantly between my MP3, phone and laptop (for different reasons).
On my laptop I made a bind, so if I press M10 (I have a gamer keyboard) it auto-connects this headset.
On my MP3 I just have to press a button for 3 seconds and it connects the headset automatically.
On my Nexus One, I have to go to the settings then bluetooth Settings then select the headset.
So I want to make a simple widget that allows me to view all the known bluetooth devices (that have already been paired with the phone once) and be able with one touch to be connected with the chosen device.
Developing an application that needs bluetooth on android is simple but I can't find a way to say to my phone : "Connect to this device already paired but you handle the socket server etc..."
I don't want to right a socket server and handle the sounds being sent to the device... I just want to connect the headset to my phone and let the phone do the rest.
Is is possible ? Because on Android Dev website I didn't find any class, method etc... to do that.
Best regards,
rXp>!<

No answer means can't be done I guess ?

Related

Emulate HeadSet?

Dear All,
I have been for the past 3 weeks trying to know if it's possible to write an
application that would send/receive the phone audio conversation to a pc if
the device is places on the cradel?
What i want to do is to use my pc's mic and speaker as a headset. I was
thinking that this can be done, since a friend of mine has bluetooth on his
laptop, i paired my phone with his laptop via bluetooth, and one of the
services provided was Audio Gateway, and used his laptop's mic and speakers
as a bluetooth headset.
I wonder how this is implemented since i want to do something like that over
the Cradel connection. or any other media as a matter of fact
Your help is really appreciated
Mustafa Rabie
You've got the answer in your post. Simply get a bluetooth adapter that preferably has widcomm drivers (I know they work like this). Set it up as an audio gateway and pair with it, hopefully you should now be able to use it as a headset.
Is there any pc program to emulate the functions of a bluetooth headset like answer the call or reject it, display the caller number?
hi all thanks for your replies:
fruitloaf - i think u didnt get my question. I want to emulate that, i want to write an application on the PPC Phone that when i answer i can capture the audio convo (mic/speaker) and transfere it to the PC maybe via the pass through when the device is on the cradel.
jacusi1980 - i will write an application on the PC that will handel the answering, dialing, rejecting etc. Which also i would like to know how can i control the answering rejecting etc remotely.
Thanks

Stereo Bluetooth Headset Issue with Qtek 9000(HTC Universal)

Hello everybody,
I just would like to hear some (technical) comments regarding making stereo bluetooth headset usage more convenient with a device like the HTC Universal.
My current situation is as follows:
The stereo bluetooth headset that I am using is http://www.itechdynamic.com/en/products_spec.asp?cid=2&pid=02040
The inconvenient problem I am encountering is the cumbersome method of going into "wireless-stereo/hands-free/headset" mode immediately after switching ON my headset.
The pairing between the device and the headset was not an issue, however one would think that once paired - there would be no need to go into the "Partnership Settings" again, and again, and again, etc...
So assuming that the Universal device has Bluetooth ALWAYS active, I switch ON my headset and the only think that works is the Multi-Function-Button on the headset that triggers the voice dialer / voice commander. Once the phone dialer is running I conveniently go into hands-free mode. This is fine and all, but quite useless when I am not using the phone dialer.
I mean, after switching ON the headset, and then I start to play an audio file - the headset should be the point of audio output, not Universal's speakers. This does not happen after switching ON the headset. To make this happen, I must do the follwing:
1. Switch ON the headset
2. On the Universal Device, go to Comm Manager and select the Settings tab
3. Choose Bluetooth Settings...
4. Select the Devices tab
5. Select the defined Partnership between the headset and the Universal device, in my case this selection is "i.Tech Clip S"
6. Under the "Select services to use from this device" we have:
a.) Hands Free
b.) Wireless Stereo
c.) Headset
All three are selected but in reality are not working (not yet anyway..)
7. Clicking the REFRESH button causes the services selected in point 6 above to change. Clicking the REFRESH button causes the Hands Free and Wireless Stereo services to be de-selected while the Headset service to remain selected.
8. Select the Hands Free and Wireless Stereo services and click on the Save button.
9. Now all is well!
So, the problem obviously is in point 6 where what the Universal device says is not actually what is reflected in reality.
But in order to work around the problem, I must do points 7 and 8. Since I wish to make an app that does the things mentioned in points 7 and 8 - I need to know what the REFRESH button actually does.
All I know so far is that the REFRESH button does not just elicit values from the registry. It does something that results in the registry values being written. This is where I would really appreciate your comments.
qtek 9000 MS voice commander 1.6 handsfree voiceenable !
It doesn't work , but now http://www.jetwaremobile.com/index.htm I have this ?!!!
But the voice down in my pocket PC. I want that Handsfree is only "ON", not "OF" after click?...

Wizard Bluetooth Handsfree on PC

Hi All,
Here is an unusual one for you guys - you have really helped me out in the past; so here's hoping......
I currently work from home and would like to use my Bluetooth enabled Laptop as a handsfree kit for my Wizard. I suppose in a similar way to an aftermarket in car kit with caller display, contact navigation, dialling from the laptop etc, etc. I have all the stuff i.e. microphone, speakers, bluetooth on my laptop so I don't really want to buy an in-car kit to do the same job.
Is this possible, and how do I do it ??
I synchronise Outlook via Bluetooth, so I have no problem in connecting the two devices.
Just to clarify why I'm looking to do this - I have to place my Wizard in my study window in order to get a decent mobile signal. If I have it on my desk the signal disappears. I make all my business calls on my Wizard, and I am getting seriously fed up with getting up and down around 20 times daily to answer my phone!! Then if I need to refer to some info on my laptop, the signal vanishes when I get to the laptop 'cos I've moved away from the window..aaarrgghhh!!
Here's thanking you all in advance.
Possible Solution
As much as I know, and I understand, It is possible to use your laptop speaker and microphone to answer the calls on your Wizard. To do so,
1-Your laptop must be equiped with the WidComm Bluetooth Hardward and Drivers
2-Pair your Laptop with the Wizard.
3-Go to CommManager on Wizard then Setting > Bluetooth Select your laptop and in services check the handsfree.
4-Allow the full access to Wizard on your Laptop and connect to wizard.
5-You will see the handfree icon on Wizard.
Now on If any call comes you can hear the call on your Laptop speakers and Anwser via Laptop's Mic. But you have to stand up and go to Wizard to accept the call or dial a number. I not know if it is possible to answer from Laptop.
Thanks.
Thanks for the response Hacken.
I have also found this:
http://www.blueshareware.com/bluetooth_pc_dialer.asp
This enables a calls to be dialled and terminated from the PC via Bluetooth, but it doesn't work the other way around. I have been looking into this for a few days now and it would appear many people are also looking for a solution.
The market potential for a fully functioning Bluetooth/PC link must be vast as it could be a solution for disabled users in making phone calls, used in call centres, in car PC's etc, etc

App search: Change speaker volume depending on BT connection

Hi all,
I'm looking for an application to change the speaker volume depending on a device connected to my PDA via BT.
Example: When my PDA is connected to my BT hands free kit in my car, I want the speaker volume to be maximum. When the connection is lost (or disconnected), the speaker volume should switch back to a default value.
Is there an existing application which does this or something similar? Or does anyone know, where WM5 / WM6 stores, which device is connected via BT?
Regards,
Rudi
sounds like you need mort script. i dont think it would be that hard. i have a mort script for brightness that does the same thing.
In order to write a script I need to know, how to figure out, which bt device is connected to the PDA - this seems to be the major difficulty... I want it to switch automatically as soon as the PDA connects to my hands free kit in my car.
So if someone knows, how to find out (by script) which bt device is connected, please let me know...

Bluetooth headset usage? + Bottom hard keys behavior during calls?

Hi all,
Does anybody has tested the HD mini with a Bluetooth headset? More precisely, does the screen keep locked during and after a call answered through a Bluetooth device?
(This is not the case with my current HD2 and locking the hard keys prevents to answer calls from a bluetooth headset... this is not good at all. As the HD mini has different keys for End Call and for Power On/Off, its behavior may be different.)
Another one : aren't the bottom hard keys (which seems to be capacitive, as the screen digitizer, but are they?) too sensitive? Do they tend to end a call when speaking, the phone being held against the cheek?
Have a nice day!
I dunno about the bluetooth stuff as I dont have a headset.
With regards to the buttons, the device has a proximity sensor which turns off the screen and buttons when it's close to your face.
debully said:
With regards to the buttons, the device has a proximity sensor which turns off the screen and buttons when it's close to your face.
Click to expand...
Click to collapse
Thank you very much, that's a good point.
I have had my mini for 4 days now, first ever HTC and got to say very impressed. I was on a long run in the car yesterday and used the Bluetooth a few times, I have a Bluetooth headset in the car for streaming music and obviously hands free phone calls.
Il start with the music side; using the standard HTC music player I found that when being played the music would cut out (maybe once or twice) after first setting it up but then be seamless from that point. I have noticed though that when going back to use the Mini (car stationary of course) the music would begin to cut out again. I don’t know if this is the music player or the connection but this has just left me to resort to setting up a playlist then using the car headset to change tracks.
As for the phone, if you have it plugged into the cigarette lighter (very useful for charging without the phone being away from your side) it wont go into standby mode, although the first call i received I used the Mini’s answer button to answer which appeared to cut off the Bluetooth and answer the call as normal, not the best situation to be in when you are driving. The 2nd phone call i got i used the car headset answer button which kept the Bluetooth running.
The only other big issue is that every time I get into the car I have to manually setup the connection from my phone to the car headset, I don’t know if this is meant to be like this or I have missed a setting any advice in this area would be useful
Cheers
Thank you, Q22ube, for you input.
My usage of a bluetooth headset is quite different since, most of the time, I use the phone with a motorcycle helmet headset (Cardo Scala Rider G4) so the phone is in a pocket or in a bag, running on its own battery, and I have no physical access to the device while riding . For now, I am using a HTC HD2 (which is a very nice device but a little too big to use it one hand) and music streaming through Bluetooth A2DP is quite good. I also had to setup a playlist since, by default, the HTC Sence music player will use nearly all music tracks available on the device, including some system sound .
Q22ube said:
I have had my mini for 4 days now, first ever The only other big issue is that every time I get into the car I have to manually setup the connection from my phone to the car headset, I don’t know if this is meant to be like this or I have missed a setting any advice in this area would be useful
Cheers
Click to expand...
Click to collapse
I don't known how works your headset (or car embedded Bluetooth system) but, most of the times you have to pair the audio device with the phone:
set the audio device in pairing mode (according to its user's manual);
go to the Bluetooth control panel of the phone;
from here, search for a new headset (e.g. click "add new headset");
when found, select the audio device and then follow the pairing procedure displayed on the phone screen;
usually, you have to enter a pairing code which should be found in the headset (or car) users's manual (most of the times it is 0000) or only click "OK".
Usually, this pairing procedure must be done only once. After that, provided Bluetooth is already turned on on the phone, you only have to switch on your headset (your car embedded audio system) and it will automatically connect to the phone. If the audio system is already on when you enter your car with your phone, you may have to switch it off and on again to start the bluetooth connection.
It is possible that your audio car system is always searching for known phones and then, the previous paragraph may not apply but I have no experience with such systems (only with some plain headsets).
One last point: please, do not leave Bluetooth in discoverable mode on your phone all the time and double check your Bluetooth security settings... Nobody should discover your phone if you don't want that and no unknown (malicious) device should be able to connect to it.
Cheers
Hi Q22ube and darthrider,
I've had my mini for one day only and found that the bluetooth device partnering is not "for life"
In my nokia formerly, I only needed to pair my gps with the phone once and that would be it! They never needed to be paired each and every time I wanted to use the two together like the mini does now.
I don't think that is normal ... Can you share with me your experiences? I use the GPS a great deal and is the main reason why I bought this phone (because it's the last wm phone and garmin's software only runs on wm and symbian) so it's irritating to have to go through so many steps every time I come back to the car.
Found the solution
Hello again,
After another good many hours of fiddling with the phone I discovered that the Bluetooth button that you find in the "Wireless Controls" tab under "Settings" brings you to "Comm Manager" which is actually a BTWizard.exe
What it should have been is "BTManager.exe" which you can find in Windows directory. This is the exe. file that allows you to launch and find paired devices automatically without needing to constantly repair.
I created a .lnk file in the Windows/Programs/ directory to BTManager.exe, put it into one of my quicklaunch panels and now I can switch on my BT, open the port and go straight into my Garmin programme without needing to repair my BT receiver.
Paired for life!
yes working fine
Dear Friend
i have a BT Headset using it with my HD Mini and i am seraching browsing phone normally while talking in headset during a phone call
just press home key and do what ever you want , even i have video recording during call
Hi ikelew,
ikelew said:
After another good many hours of fiddling with the phone I discovered that the Bluetooth button that you find in the "Wireless Controls" tab under "Settings" brings you to "Comm Manager" which is actually a BTWizard.exe
What it should have been is "BTManager.exe" which you can find in Windows directory. This is the exe. file that allows you to launch and find paired devices automatically without needing to constantly repair.
I created a .lnk file in the Windows/Programs/ directory to BTManager.exe, put it into one of my quicklaunch panels and now I can switch on my BT, open the port and go straight into my Garmin programme without needing to repair my BT receiver.
Paired for life!
Click to expand...
Click to collapse
I did not notice the paring problem you described since I opened the Bluetooth Manager from "Sense Settings Tab > Menu > More > Bluetooth". This opens the true Bluetooth Manager and not the Bluetooth Wizard. Happily, you have found another solution.
I think that the Comm Manager should launch the Bluetooth Manager instead of the Bluetooth Wizard.
Regards

Categories

Resources