How to setup device as a bluetooth headset? - Java for Android App Development

Let us suppose we have a two devices with Android:
Custom android device with microphone, speaker, bluetooth and without GSM part.
Android smartphone (like a Nexus 5 or SGS4).
We need to make calls programmatically from first device through second via Bluetooth. What we are need to do to implementing it? Setup first device as headset? Or something else?

Related

WM6 with MS stack, PC with Widcomm stack, auto answer problem

Hi,
Some background:
I'm currently working on a carputer project. Everything is working wonderfully and right now I'm going through the final phase of having my HTC Universal (WM6) phone use the car speakers and microphone as headset.
On my computer I am running on Widcomm BT ver 5. The Universal phone is running the MS stack. I managed to pair and connect successfully with my WM6 device. The headset works very nicely both ways, but with a problem:
Whenever a phone call comes in the phone automatically answers the call without even asking me. It rings once then answers. This does not happen while not using a BT headset nor does it happen with my regular portable Samsung BT headset. My universal is set to never receive calls automatically on all profiles. I'm assuming the problem is in the Widcomm driver but there doesn't seem to be anything I can change in the software settings.
Does anybody know how to solve this problem? I obviously don't want every single call that comes in to get answered. I wouldn't even mind answering the call from the phone itself (and not from the PC) as long as the voice gets routed from the phone to the car stereo with the external mic.
Thanks!
Yaniv

Switch Audio between 2 Bluetooth devices

Hi. I would like to switch audio and mic (obviously) between my carkit
(blue&me) and my headset in order to continue or make a conversation
privatly. It's possible?? Even using a mortscript...
In past i've used a mortscript file and BTAudioOn for switching all audio of my WM5 to my headset, can i make something like this...? How?
Anyone has tried?? I don't know where to put my hands!
It pairs with multiple devices and the only way I can get it to use the device I want is to initiate the call with the device.
Well.. i don't know if i can pair with 2 devices in the same time...i'll try! But ther's no way to have a "toggle" to switch audio during an incoming call...??

[Q] Connect bluetooth device, but let the phone handle it

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 ?

[Q] Bluetooth connecting with 2 devices at same time

Hi
is it possible to connect my HD2 Android phone to 2 different devices at the same time?
i am used to do this with my WM6.5.
the reason for this is that i use a separate bluetooth speaker for navigation (stereo profile) and for telephone i use the audio system in my car.
when i try to do this with the android build it always disconnects the second device.
any help is appriciated

Bluetooth Connectivity

Alright,
Quick question, is it possible to make your phones bluetooth connection strength very good, like for example, let's say I've got 5 s8's, and a car that plays bluetooth audio, I've paired all 5 phones to the car, is there a way to make one of the phones pair automatically? Is there a setting on the phone? Or will it be from the car?, if its on the phone,am I able to do this to all Bluetooth devices? So if I go near a Bluetooth device, that I've paired with,and there's someone else beside me that's paired,I want it to connect to mine first,
Thanks
You should first try looking in the Bluetooth settings in your car multimedia system. It's really dependent on each system if it allows this kind of behavior.

Categories

Resources