[Q] How to programmatically check if device is paired by Bluetooth - Android Q&A, Help & Troubleshooting

I'm connecting two program one for PC and other on Android by Bluetooth. The android program is server and is waiting for connecting. But i want to allow to connect only paired devices. Someone know how i can check it?

Related

[Q] G Tablet Bluetooth Connection

I have been trying to get my G Tablet to connect to my computers (Windows 7 x64 and OSX 10.4.11) without success. I managed to PAIR the tablet with the computers, but I can never get them to CONNECT. After I hit the connect button, nothing happens. I want to bluetooth to transfer files wirelessly, or even stream music and share internet connections.
By the way, I am running CyanogenMod 7.0.2.
hotfusion said:
I have been trying to get my G Tablet to connect to my computers (Windows 7 x64 and OSX 10.4.11) without success. I managed to PAIR the tablet with the computers, but I can never get them to CONNECT. After I hit the connect button, nothing happens. I want to bluetooth to transfer files wirelessly, or even stream music and share internet connections.
By the way, I am running CyanogenMod 7.0.2.
Click to expand...
Click to collapse
I was able to send a file from my linux desktop to the gtab... the linux box sees it as a "phone" profile, which might mean it only has a limited set of bluetooth services installed.
Wanted to bring this back up as I am having the same issues, connecting with my HTC Thunderbolt. Pairs with everything, but doesn't connect. Kind of a shame when I need BT to tether. Anyone find a fix yet?

[Q] Connect to PC via bluetooth

Just wondering if anyone has had any success. I have been able to connect to my laptop ( via dongle ) with a rather antiquated version of Bluesoleil, but only partially. It seems I can send files, but I cannot receive them. Under my Bluetooth settings on the Atrix, it says I am paired, but not connected.

[Q] Bind desktop USB Headset to connected Android device as local headset

Hello everybody,
I'm searching for following solution. During office day my Android (SG2) is bound to USB and so connected to workstation for the whole day. I'm also using a headset bound to workstation also connected by USB for VoIP and Music (of coz).
Question: To avoid a second headset (for the phone), is there a solution, which could bind the workstation connected headset virtually to the attached Android device as local headset. So whenever a call comes in on the phone, I would use the desktop headset for the call?
Thank you
Dejan
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
I purchased an ASUS USB-BT21 that allows me to do this on my Windows 7 PC. It uses the Broadcom 2046 chip (use to be WIDCOMM I believe) and the software that comes with it (or download from their site) allows me to pair it with my SGS and answer calls on my PC.
I think any Bluetooth 2.1+EDR adapter should allow you to do this, but I dont know that for sure.
Software Link: http://www.broadcom.com/support/bluetooth/update.php
I use the Plantronics Voyager Pro UC2 headset because it pairs with my computer and phone simultaneously. It's also capable of some interesting "presence" stuff when it connects to either device and if you're on the phone or not.
Hello all,
thank you for the input, it seems more fisible to enable BT on PC as merging any USB to BT gateway over PC to Android.
Regards
Dejan

Make Android device a MIDI one

Hello! I'm thinking about this by a while. Actually the Android MIDI software you can find on Google Play use MIDI over IP or rtpMIDI technologies to send the MIDI signal via WiFi. Knowing how a network works, specially the wireless one, I think it's a waste of _time_. I thus thought why not passing the signal over USB? That's not a problem, just create a peer program on the target machine and comunicate via sockets or similar - not. My idea is to setup the application so that the target computer can see the MIDI device with no special drivers or programs or hacks (MIDI over USB is a standard).
Is it possible then to let the Android device be seen by the computer as a MIDI device, or at least "even" as a MIDI device?
Thanks.

[Q] Unable to transfer files to phone from PC via bluetooth.

I bought a bluetooth dongle on Amazon (ORICO BTA 403, CSR8510 A10 chipset) and installed it on my Windows 7 x64 computer.
The dongle installs fine and works perfectly with all my older phones but not with my Xperia S running Android 4.1.2.
Basically, if I install the automatic windows driver, and pair with the phone, windows complains about no drivers for the device, and I can't do anything with it.
If I install the supplied software (CSR Harmony wireless software stack) I can pair and the Xperia S is installed properly, the various audio services work (I can stream music to PC using BT), but I still can't send or receive files, either from PC to Phone or from Phone to PC.
The connection times out after a second and gives me a connectivity error. It's like the phone refuses to connect to the PC, both when transferring and receiving.
I don't know if the phone is the problem, it seems to not work only when doing file transfers with PC, if I try to transfer files to other phones or to my mac (which has built in BT) it works fine.
Is there any way to fix this issue? Any way to troubleshoot this issue to tell if the problem comes from the phone or the dongle?
Searching with google I can't find any solution, I just get lost into a sea of bluetooth problems which have nothing to do with what I'm experiencing.
By the way, using Airdroid instead of BT is not a fix.
Csr8510 a10
MarkMRL said:
I bought a bluetooth dongle on Amazon (ORICO BTA 403, CSR8510 A10 chipset) and installed it on my Windows 7 x64 computer.
The dongle installs fine and works perfectly with all my older phones but not with my Xperia S running Android 4.1.2.
Basically, if I install the automatic windows driver, and pair with the phone, windows complains about no drivers for the device, and I can't do anything with it.
If I install the supplied software (CSR Harmony wireless software stack) I can pair and the Xperia S is installed properly, the various audio services work (I can stream music to PC using BT), but I still can't send or receive files, either from PC to Phone or from Phone to PC.
The connection times out after a second and gives me a connectivity error. It's like the phone refuses to connect to the PC, both when transferring and receiving.
I don't know if the phone is the problem, it seems to not work only when doing file transfers with PC, if I try to transfer files to other phones or to my mac (which has built in BT) it works fine.
Is there any way to fix this issue? Any way to troubleshoot this issue to tell if the problem comes from the phone or the dongle?
Searching with google I can't find any solution, I just get lost into a sea of bluetooth problems which have nothing to do with what I'm experiencing.
By the way, using Airdroid instead of BT is not a fix.
Click to expand...
Click to collapse
Hi
I just purchased a similar BT usb dongle to use with my Windows7 32bit laptop, model name/number BTA-CSR4B5 Inateck USB Bluetooth 4.0 Low Energy USB Adapter USB 2.0 Wireless Bluetooth Adapter with LED Indicator For PC Desktop Computer Laptop Notebook, Compatible with Windows XP/ Vista/ 7/ 8 & Bluetooth 3.0/ 2.0, Support Bluetooth Stereo.
I want to use it for streaming audio to my headphones, I have successfully installed application/drivers with no problems then plug in dongle which searched & installed from windows more drivers which in compatibility mode and run as administrator installed ok, but then when i pair my BT headphones again auto search tries to find & install more drivers but always fails so i cannot get audio connection from laptop to BT HP's although there is a BT connection between dongle & HP's, I have tried another pair of BT HP's but get the same problem. any help from any1 most appreciated. BTW how did u get on with your problem?
i will try to upload some screen grabs hopefully yourself or any1 else maybe able to help me, solve this problem. thanks in advance.
Adeo63 said:
Hi
I just purchased a similar BT usb dongle to use with my Windows7 32bit laptop, model name/number BTA-CSR4B5 Inateck USB Bluetooth 4.0 Low Energy USB Adapter USB 2.0 Wireless Bluetooth Adapter with LED Indicator For PC Desktop Computer Laptop Notebook, Compatible with Windows XP/ Vista/ 7/ 8 & Bluetooth 3.0/ 2.0, Support Bluetooth Stereo.
I want to use it for streaming audio to my headphones, I have successfully installed application/drivers with no problems then plug in dongle which searched & installed from windows more drivers which in compatibility mode and run as administrator installed ok, but then when i pair my BT headphones again auto search tries to find & install more drivers but always fails so i cannot get audio connection from laptop to BT HP's although there is a BT connection between dongle & HP's, I have tried another pair of BT HP's but get the same problem. any help from any1 most appreciated. BTW how did u get on with your problem?
i will try to upload some screen grabs hopefully yourself or any1 else maybe able to help me, solve this problem. thanks in advance.
Click to expand...
Click to collapse
your problem is bare and I think you can try these two solutions out:
1- Restart your phone and check whether your problem has solved or not. 2- Restart your windows and also turn off your Antivirus and firewall and try again.
fa2020 said:
your problem is bare and I think you can try these two solutions out:
1- Restart your phone and check whether your problem has solved or not. 2- Restart your windows and also turn off your Antivirus and firewall and try again.
Click to expand...
Click to collapse
1.Its not a phone its Headphones. 2.Restart made no difference plus Antivirus/firewall not the cause, seems to be a driver problem when installing from windows update! Ta all the same.
The problem is ****ty drivers from the manufacturer. I installed Bluesoleil and it worked perfectly. Another solution is to use the Windows stack by manually installing drivers from the MS Windows Mobile Suite (or whatever it's called, I don't remember) but that only supports file transfer.

Categories

Resources