Related
Basic introduction:
Me and a team of two other fellows are trying to develop a cool android application for a school assignment. We are focusing on Android v2.2+, and all have either a Droid Incredible or the Evo 4G.
The guts:
We'll be dealing with a few bits of hardware on the android side: the bluetooth radio, the camera, and the microphone.
The glory:
Our objective is that we're trying to use a phone's bluetooth connection and a computer's bluetooth connection to create a pairing of the two devices, and then have Windows recognize the phone as being an input microphone and video camera.
The question:
So far we have an android application that turns on the phone's bluetooth and initiates a camera preview. However, at this point we're kinda at a fork in the road... I have never dealt with anything like bluetooth before, and I've never programmed for android before.
I'm asking for some pointers and / or a focus point here. Unfortunately for our program already being so basic, we already aren't exactly sure of where to go from here. I typically find the android documentation to be way over elaborate with techspeak and under par with examples.
You can view all of our current code on our google code page: http://code.google.com/p/red-dragon/ (the name of our team is a bit of an inside joke )
Thanks a bunch guys!
I just purchased an A501, rooted it and am running the Alexander III rom, (very nice job on the rom!!!)
I was hoping I would get the bluetooth Headset HSP profile in the new rom but sadly it was not there.
A little research has shown that there is a Bluez driver plugin installed and various bluetooth libraries, my question is can I potentially just replace these libraries with bluez libraries from another rom that has the HSP profile?
I really need to get the bluetooth headset profile working on this A501, and am willing to pay a bounty for help in getting it working
Sorry to say, it doesn't work... as with most other Tablets.
Just using some libs from another ROM isn't going to work either, unless they are extremely similar... and all ROMs similar enough to try such a stunt are almost definitely broken as well.
Sorry, but you'll have to roll your own BT stack if you're desperate enough to try... I'm not gonna.
haag498 said:
Sorry to say, it doesn't work... as with most other Tablets.
Just using some libs from another ROM isn't going to work either, unless they are extremely similar... and all ROMs similar enough to try such a stunt are almost definitely broken as well.
Sorry, but you'll have to roll your own BT stack if you're desperate enough to try... I'm not gonna.
Click to expand...
Click to collapse
Still doing a little research on this. I discovered, in the Bluetooth folder, a couple of files pertaining to what Acer has deemed "black listed", which simply means, certain brands and models are not allowed to work with bluetooth. System/etc/bluetooth/
Also noted, if you modify the files, you need to make changes in a couple of other module files (android_bluetooth_ScoSocket.cpp). The info in the above files tell you where to look.
Not sure why Acer black listed those devices. Legal reasons maybe? Plain incompatibility? Who knows.
My dev skills, are not quite up to modifying .cpp files. Probably enough to muck things up really good Not to mention, I would have no way to test them. But when I get a chance, I'll see what's in them.
Of course most of this pertains to Auto pairing, so might not be of much use. As with the .so files in the Bluez folder, you'll need to de-compile them first to see what's in there.
Also, I saw some bluetooth apps onn the market that some folks had some success with getting HSP. Not the off/on widgets but an app itself. Might want to give them a try and see if you can get the headsets to connect.
Additionally, it seems bluetooth headset problems seems to be across all devices, and not just the a501, but Zoom, Transformer and Thrive as well. Hit and miss with what works. Most issues say the mic doesn't work.
I tried a couple of the apps with no joy on my plantronics earpiece but one of the widgets actually connects...for just 2 seconds...then disconnects...I think the capability is there and you are correct there is some file manipulation that needs to occur...
I have a friend in Egypt that is very good with android bluetooth, he is working on another project right now but when he finishes his current project I will send him these files...he might be able to figure it out ...
I know that at the moment this isn't possible, but does anyone know if there is work being done on the Android bluetooth stack to enable a tablet to be used as a bluetooth hands-free device? A bit of searching shows that it is a regularly requested feature but I can't seem to find any info on any developers who are definitively working on this (except for one little questionable nugget that stated that the CM developers were playing with Bluetooth. Hardly enough to go on.).
I want to incorporate a Nexus 7 into my 370Z as a carpc but the lack of being able to integrate phone features is holding me back. Using data apps like grooveip are a no go for me as data connections around here aren't reliable enough for consistent daily use. Thanks in advance for any info.
I'm not to sure of what your asking, but if you wanna make calls from your tablet using BT this app allows you to do that as well as send SMS and MMS from it https://play.google.com/store/apps/details?id=com.apdroid.tabtalk hope that helps and is what you mean
Sent from my Nexus 7 using Tapatalk 2
I appreciate the suggestion but I don't think this will work. What I would like to do is mount my tablet in my car and use it as a front end for my phone to make/take calls the way an OEM bluetooth car system would normally work. My understanding is that your tablet must be paired as a hands free device, which android tablets currently don't do. I looked at Tablet Talk but when using that app from what I can gather when you accept a call on the tablet it actually activates the call on your handset. Ultimately I want to use the tablet as a hands free solution as I drive stick and holding my phone to my ear while driving is a no-no.
In the past I've used bt headsets but I lose them constantly and frankly I'm tired of replacing them. Oh well.
Well, good luck in your search! And you hit tablet talk spot on BTW lol. Oh and if you do find a solution, plz post it! This sounds like something I would love to use.
Sent from my Nexus 7 using Tapatalk 2
SpungeWorthy said:
Well, good luck in your search! And you hit tablet talk spot on BTW lol. Oh and if you do find a solution, plz post it! This sounds like something I would love to use.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Thanks. I'll thinking I'll probably go the route of a more traditional carpc for now, but if and when this becomes a feature you can take advantage of with android tablets I'll have to reevaluate the situation.
Nillaz said:
I know that at the moment this isn't possible, but does anyone know if there is work being done on the Android bluetooth stack to enable a tablet to be used as a bluetooth hands-free device?
Click to expand...
Click to collapse
This would be a great extension or compliment to the various apps that let you send/receive SMSs from your tablet via your phone. If I could at least receive/answer calls too, I could leave the phone elsewhere at home.
Just to let you know I've contacted parrot and garmin with regards to something like this.
I want a solution where I can make my nexus 7 a full media center with DAB radio and a good sat nav without needing a cellular link and hands free for my phone which includes the voice commands available through the tablet.
So hopefully they will get back to me and I'll post up here what they say.
Something I haven't solved yet either is getting all the antennae feeds into the nexus, I was thinking of getting a sharks fin antennae and wiring them into a raspberry pi to then blue toothing them into the nexus, I could also then attach a HDD to the pi to use it as a server to.
I want to do it this way so I can take the 7 otu and with me if I wish, rather than having it hard wired in. also if would allow for device upgrade.
Theres a nice thread on install and with references to the tasker app to get the tablet to work with the ignition and other functionality like that;
http://forum.xda-developers.com/showthread.php?t=1819175
b
BT app
There is an app under development for this I think. play.google.com/store/apps/details?id=com.funkyandroid.phonelink
I'm thinking of dropping a Nexus 7 in my car but the lack of hands free bluetooth is kind of a deal breaker.
Did anybody ever get this working? I have my Nexus installed in the car, and would love to be able to use it as a speakerphone. I don't need to actually be able to make the calls via the tablet, just need to be able to use it as a basic bluetooth speakerphone / headset type of thing.
It sounds like it should be something fairly simple, but I cannot seem to find much.
I have been wanting this for a long time, I'd love to be able to take my older Android phone and re-purpose it as a car GPS/Internet Radio/Handfree, etc.
I know the Samsung Galaxy player has this functionality, I wonder if any of their devs could help out.
if this work in linux so i think can work on android
Hi to all,
i been looking for this "bluetooth role" for long time. I have read a lot of forum and the entire XDA posts about this..
it seems that this is the definitive question like "what is the answer to life the universe and everything" simple 42
and it seems that is the paradise for all want to make a carputer/droid/tablet/**** car radio replacement... so... i'm one of you
this post is for some devs (i'm a dev too) i'm asking for help ....
the problem is: which android version do you want to use?
why this question? simple: from the android 4.2 google has decided to trash the bluetooth bluez stack and reimplement the wheel with bluedroid...
i read the documentation about bluedroid at this site:
https://source.android.com/devices/bluetooth.html
and there was written that there are some profiles actualy implemented but not the Bluetooth Hands-Free Profile server.
Ok it's not a problem, taking a look to the template of other profile i can implement it.
now the question is HOW DOES IT WORKS?
so i searched and bum this is how:
version 1.5
version 1.6
ok and now? and now i tried to find some similar implementations and...
after another night of search i found this....
HFP For Linux
where there is the downloadable source code.
now I think we have all the necessary to make this possible...
BUT there are some problem that i haven't resolved yet for a lack of knowledge of course.
it seems that the hfp override any other profiles on that example, it's not bad, in a system that i want to use i need only a HFP profile and AD2P togheter all the rest is useless
i think that this at the end is a fork of the standard android project and how I/we can put it into a rom or a patch and who want to add to a rom/kernel? how it can be done? is a patch better ? a new kernel like franco's or better to submit to google?
I hope to have intrigued someone with this post and I hope that somebody can link me to some documentation to understand how to put all the information I have together.
ps. i have tried to reply into this thread:
[Q] Android phone as bluetooth headset?
but of course i have to few posts to make my suggestion there
I may be out of line here but try reading about the gmate+ device.
I got one paired with my Nexus 7 32gb right now and currently using it as a phone. I believe there are other similar gadgets out there, as I've done some researches before I actually got mine to work. I have yet to try it with a bluetooth headset paired because I lost mine just on the day when I was about to try it out.
Anyway, one problem here is, the app for the device is currently not updated so there are a lot of things that need tweaking and one major issue for me is the ringtone. As I have posted here before, sine N7 does not have native ringtone, there's no alert tone for incoming calls. As for text messages, the notification alert tone works. I know there's also GPRS for it but haven't tried it out yet.
Try these options...
As far as an option for a Nexus 7 you may want to try a sip dialer like 3cx or linphone or zoiper and establish a free sip account at iptel.org or something. As long as you have wifi or a 3g connection which some tablet have you should be able to make and receive calls, or try ""Blue Fi" from the play store. it may work.
naiku said:
Did anybody ever get this working? I have my Nexus installed in the car, and would love to be able to use it as a speakerphone. I don't need to actually be able to make the calls via the tablet, just need to be able to use it as a basic bluetooth speakerphone / headset type of thing.
It sounds like it should be something fairly simple, but I cannot seem to find much.
Click to expand...
Click to collapse
golfnz34me said:
I have been wanting this for a long time, I'd love to be able to take my older Android phone and re-purpose it as a car GPS/Internet Radio/Handfree, etc.
I know the Samsung Galaxy player has this functionality, I wonder if any of their devs could help out.
Click to expand...
Click to collapse
I just got a new Nexus 7 for the same purpose of replacing my vehicles head unit with a tablet.
I am digging into the BT stack since I believe that I should be able to implement (or port) the profile on top of Android 4.3 assuming that the SCO data is available through the raw BT connection. There is an open source HFP implementation on sourceforge for Linux that migh be close enough to do the trick and save a bunch of coding time. It's going to take a while for me to get the time to dive too deeply into this one, but if I succeed or come to the conclusion it can't be done, I will let folks know.
Hello guys.
I am going to buy Nexus 7 for my car for the same purposes, - navigating, internet.
But mainly is for the Hands Free function.
Unfortunately, people saying nexus can't use it. But it's lol...I don't believe nexus7 doesn't support hands free.
Gentelman, tell me any way to make nexus 7 works hands free.
Thank you in advance.
P.S. if you ask wham am I mean when saying "hands free", so there is an example http://www.youtube.com/watch?v=ZEFjDKtlao8
Use some Motorola MotoActiv Bt code?
I have a Motorola MotoActiv running watch... Features gps tracking for running and biking, MP3 player and Bluetooth... The Bluetooth is mainly used for wireless headphones, but if you have a Motorola Phone, the watch can display text msgs from the phone and you can use the headphones/mic through the watch to take calls. (the idea being that you can leave the phone in a pocket or backpack while you're bike riding, I guess, and still take calls.)
The device runs Android (I'm sure someone's rooted it on here). Maybe that code can be dissected and repurposed for what were all looking for??
J
more on Motorola Watch
SmartNexus said:
I have a Motorola MotoActiv running watch... Features gps tracking for running and biking, MP3 player and Bluetooth... The Bluetooth is mainly used for wireless headphones, but if you have a Motorola Phone, the watch can display text msgs from the phone and you can use the headphones/mic through the watch to take calls. (the idea being that you can leave the phone in a pocket or backpack while you're bike riding, I guess, and still take calls.)
The device runs Android (I'm sure someone's rooted it on here). Maybe that code can be dissected and repurposed for what were all looking for??
J
Click to expand...
Click to collapse
Just an update on something I said in my previous post... I was looking at my MotoActiv watch today and it says you have to have an "Android phone" not a Motorola phone as I said in my previous post. So I'm wondering if the phone audio over Bt can be reverse engineered from the Motoactive watch for other android devices.
I actually decided to root my watch today just for the fun of it... it would really make the perfect "Car Head Unit" as it has Android OS, MP3 capabilities, FM Tuner, Bluetooth and Phone audio over Bluetooth built in... if only the screen was larger than 1.5".
Looks like the Nexus 4 and Nexus 7 2013 are getting some love in this area with a new custom stack:
http://www.bluez.org/bluez-for-android-status-update/
Looks like you need some compiling skills, but I think this is what you are looking for.
It must be work... Or not?
Hello guys!
I'm thinking on a same project for a while. It doesn't matter if not work for me, but would be great if yes.
I found something 2 days ago:
Parrot Asteroid Smart
This is an android base head unit/navigation, and the bluetooth handsfree is working on it. How it's possible? Any chance to port it into the Nexus 7?
solution
So i had an idea today and decided to call my carrier (Cricket). They told me it is possible to purchase an extra sim card and they will program the imei# to match my phone. This will enable me to make and receive calls on my tablet as well as my phone using the same number. Also i will have full access to my data.....problem solved with only 15 dollars. I hope this helps somebody.
Having an issue pairing my Motoactv to the new bluetooth headset I just bought, the LG Tone+ (HBS-730). Motoactv won't even see it. Headset connects just fine to the phone, and Motoactv connects to phone and old headset (Motorola S10-HD) without a hitch. Tried removing all existing bluetooth connections on all devices. On Motorola's advice, factory reset Motoactv. Nothing seems to be helping.
Does anyone know if this is something that a dev could fix? If it's a simple "no, there's no way modding will fix that", please let me know, so I can return this headset. I really appreciate any help. I bought this thing because it can connect to 2 devices, where the S10 could not. Doesn't do much good if it won't pair, does it?
I couldn't find a better place to put this, since Motoactv doesn't have its own section. Hope that was OK.
davidam091 said:
Having an issue pairing my Motoactv to the new bluetooth headset I just bought, the LG Tone+ (HBS-730). Motoactv won't even see it. Headset connects just fine to the phone, and Motoactv connects to phone and old headset (Motorola S10-HD) without a hitch. Tried removing all existing bluetooth connections on all devices. On Motorola's advice, factory reset Motoactv. Nothing seems to be helping.
Does anyone know if this is something that a dev could fix? If it's a simple "no, there's no way modding will fix that", please let me know, so I can return this headset. I really appreciate any help. I bought this thing because it can connect to 2 devices, where the S10 could not. Doesn't do much good if it won't pair, does it?
I couldn't find a better place to put this, since Motoactv doesn't have its own section. Hope that was OK.
Click to expand...
Click to collapse
If the MotoACTV does not see the headset while the headset is in pairing mode then it won't work. It will not pair with something it cannot see. Not sure why it wouldn't see it though. The MotoACTV uses bluetooth 4.0 so the LG's bluetooth 2.0 should be seen with ease. My suggestion would be to remove all bluetooth devices from MotoACTV. Reboot the MotoACTV and try again. Also make sure that ALL other devices have their bluetooth turned as so they don't see the LG and try to pair with it. If that doesn't work then odds are it won't work at all.
I think this new version of the headset is Bluetooth 3.0. It's the Tone+ 730, not the Tone 700 original (which, apparently, has no issues pairing with the Motoactv).
davidam091 said:
I think this new version of the headset is Bluetooth 3.0. It's the Tone+ 730, not the Tone 700 original (which, apparently, has no issues pairing with the Motoactv).
Click to expand...
Click to collapse
MotoACTV is still 4.0 so it should be compatible with 3.0, good luck
pairing
Ill let you know i own one of these headsets and should be recieving my motoactv in the mail soon.
Any ideas on the issue guys? I have a Motorola h500 and an LG-HBM 235 and neither will pair with the motoactv. It drives me absolutely nuts that the Motorola headset doesn't even work with the motorola motoactv. I mean really, WTF man? I don't want a big stereo headset. SMH. If i could finally get bluetooth audio, this thing would be great. In fact, they need to make a new model with a speaker and mic then it would be the greatest!
Figured it out. Your bluetooth earpiece/headset must be A2DP compatible.
heat22 said:
Figured it out. Your bluetooth earpiece/headset must be A2DP compatible.
Click to expand...
Click to collapse
I can't post links yet, but on the LG site, it says the 730 has A2DP...
Man, this is driving me nuts. I love these headphones, and they seem awesome for running. But I'll never know at this rate...
davidam091 said:
I can't post links yet, but on the LG site, it says the 730 has A2DP...
Man, this is driving me nuts. I love these headphones, and they seem awesome for running. But I'll never know at this rate...
Click to expand...
Click to collapse
I have these headphones as well but have always had them paired to the phone. I just tried to pair them with my actv just to see if my results were any different but unfortunately, I have the same issue.
It may be possible to pair them through a third party app but I haven't tried.
Artimis said:
I have these headphones as well but have always had them paired to the phone. I just tried to pair them with my actv just to see if my results were any different but unfortunately, I have the same issue.
It may be possible to pair them through a third party app but I haven't tried.
Click to expand...
Click to collapse
Any suggestions for 3rd party apps that would do this? I'm willing to try.
Also, does anyone think that modding the ACTV with some of the work the guys here on XDA have done will have any effect? I'm reading threads dealing with similar problems with other devices (e.g. car kits) and some are saying its a bluetooth driver issue. Maybe a custom UI will include different bluetooth drivers?
I know it's annoying to hear people ask for free work, but if any of you ACTV programmers/modders think you can tackle this issue, we'd all really appreciate it. It's incredibly frustrating when you buy 2 things that should work together just fine, but for some unknown reason, just don't.
Thanks!
davidam091 said:
Any suggestions for 3rd party apps that would do this? I'm willing to try.
Also, does anyone think that modding the ACTV with some of the work the guys here on XDA have done will have any effect? I'm reading threads dealing with similar problems with other devices (e.g. car kits) and some are saying its a bluetooth driver issue. Maybe a custom UI will include different bluetooth drivers?
I know it's annoying to hear people ask for free work, but if any of you ACTV programmers/modders think you can tackle this issue, we'd all really appreciate it. It's incredibly frustrating when you buy 2 things that should work together just fine, but for some unknown reason, just don't.
Thanks!
Click to expand...
Click to collapse
Perhaps something like this could work? https://play.google.com/store/apps/details?id=com.IG.BluetoothManager
Alternatively, if your device is rooted there are .conf files under /system/etc/bluetooth/ that could potentially be modified to get this working. For example, audio.conf could be modified to remove "Disable=Headset" as well as enable HFP. These changes could possibly resolve the issue but I haven't tried tinkering with them.
Artimis said:
Perhaps something like this could work? https://play.google.com/store/apps/details?id=com.IG.BluetoothManager
Alternatively, if your device is rooted there are .conf files under /system/etc/bluetooth/ that could potentially be modified to get this working. For example, audio.conf could be modified to remove "Disable=Headset" as well as enable HFP. These changes could possibly resolve the issue but I haven't tried tinkering with them.
Click to expand...
Click to collapse
Ok, so I decided to tinker a little and the app I mentioned did not work.....neither did some of the modifications I made to to the audio.conf file.
However, I did download this app:
https://play.google.com/store/apps/details?id=es.qrr.android.btoolkit
In the app settings, I enabled experimental mode and was able to find the HBS-730 headset and pair with it. Unfortunately, I wasn't able to go any further than that. Even though it is paired, music wasn't routing to it (granted I didn't use the stock music player -- that may have worked).
I believe the actv is treating the HBS-730 like a phone, tablet, or comp rather than just a headset which is why it is not interacting directly with it. There may be another app with root privileges (like the original app I suggested) that could possibly route the audio correctly but I haven't had the time to tinker with it and don't typically need audio output from my actv anyway.
Hope this somewhat helps.
Artimis said:
Ok, so I decided to tinker a little and the app I mentioned did not work.....neither did some of the modifications I made to to the audio.conf file.
However, I did download this app:
https://play.google.com/store/apps/details?id=es.qrr.android.btoolkit
In the app settings, I enabled experimental mode and was able to find the HBS-730 headset and pair with it. Unfortunately, I wasn't able to go any further than that. Even though it is paired, music wasn't routing to it (granted I didn't use the stock music player -- that may have worked).
I believe the actv is treating the HBS-730 like a phone, tablet, or comp rather than just a headset which is why it is not interacting directly with it. There may be another app with root privileges (like the original app I suggested) that could possibly route the audio correctly but I haven't had the time to tinker with it and don't typically need audio output from my actv anyway.
Hope this somewhat helps.
Click to expand...
Click to collapse
I had similiar problems pairing my motoactv with a pair of UE 9000's. It could see the device, but would not pair through the stock menus. Tried downloading some third party bluetooth managers and was unable to get any audio. I believe it has something to do with Apt-X codec for bluetooth not being implemented in 2.3 gingberbread on the motoactv
Artimis said:
However, I did download this app:
Click to expand...
Click to collapse
Here's where I lose all credibility (and help)...
You mean download the app to my ACTV, right? So... How do I do that?
How do I download 3rd party apps to the ACTV? I haven't modded mine at all. Do I need to do anything to it?
I realize I have just exposed myself as a NOOB. Alas, I had no choice. Please continue to speak to me.
davidam091 said:
Here's where I lose all credibility (and help)...
You mean download the app to my ACTV, right? So... How do I do that?
How do I download 3rd party apps to the ACTV? I haven't modded mine at all. Do I need to do anything to it?
I realize I have just exposed myself as a NOOB. Alas, I had no choice. Please continue to speak to me.
Click to expand...
Click to collapse
No worries .
Yes, you'll need to download the app to the ACTV. It will require rooting of the device and installing a custom ROM is the best way to get everything necessary for the market to work so that you can install these apps.
There is a step-by-step tutorial in the MOTOActv rooting thread in this forum.
Any further updates?
Just curious to see how this solution worked out. I am having the same problem and am definitely a NOOB. Attempting to download an app to my Motoactv seem a bit daunting to me...
Someone has managed to activate - built this feature on Oreo LG G6.
Bluetooth headphones - turn on the ringing into bandwidth.
Allow ringtones to be played through bluetooth headphones.
I include it as a developer option, but it does not work.
Android Oreo 8.0 EU LG-H870 20A STOCK ROM.
This option is very necessary for my work.
Any luck?
Any chance of having someone look into this?
Fairly common issue for LG users. I also need this function for work. As much as I dislike iPhone I may be returning to one if Android is going to make us a wait another 5 years for this to work.