Bluetooth Connect to Device Shortcut - Asus Eee Pad Transformer Prime

Currently, I have a shortcut that will open BT settings where I can connect to my 4G phone for tethering. Is there any way to create a shortcut that will just connect to that device without having the extra step of first opening bluetooth and then tapping the device?
I've tried Anycut, but all I can produce is a shortcut to Bluetooth settings.
Thanks in advance for your assistance in advance.

I think this free app will do the job for u...
Bluetooth Profile Widget
/m

Reviews say it doesn't work for JB.
Any replacements for a general bluetooth device connection shortcut, not just A2DP?

klau1 said:
Reviews say it doesn't work for JB.
Any replacements for a general bluetooth device connection shortcut, not just A2DP?
Click to expand...
Click to collapse
Try this : http://forum.xda-developers.com/showpost.php?p=38457416&postcount=4

Related

Application for Bluetooth PAN tethering -- now for charity

The ad revenue from this app has passed the $25 mark -- what it cost me to register with Google to put the app in the market. As promised, any revenue the app earns from that point forward will be added to my annual donation to the Baypath Humane Society of Hopkinton, Massachusetts -- a no-kill shelter.
Thanks from me and thanks from the kittens and puppies.
----------
I've written a widget to establish a PAN connection between the Nook a phone. It grabs the first networking-capable device it finds in the list of pairings. A couple of things to note:
There is an application. All it will do is show you what device, if any, it can connect to. It has to turn on Bluetooth to get the list, but it will politely ask you before doing so.
The widget will turn on Bluetooth, but it isn't so polite. For the life of me, I can't find a code snippet nor can I think of one that will start the polite activity (or any activity) from a widget that doesn't directly involve a button press. If anyone has such a snippet, I'd love to see it. I know its possible because the Bluetooth GPS widget does it. Fixed!
The widget, of course, requires root.
I do send a Toast when the process is complete, but toast from my widget isn't reliable. I need to figure that out, too... advice is welcome. Fixed!
Still to do: Monitor the connection and reflect the status in the widget. Fixed!
If nothing else, it's prettier than a GSCript script. Once it's stable and complete, I'll stick it in the marketplace.
Note... You must be running CM7 and you must have already paired the phone before you can use this....
Apr-13: New version with better Bluetooth device state management.
Apr-17: Added connection monitoring, polite Bluetooth enabling
Note: The pop-up to grant superuser access is asynchronous, so there may be a timing window on first use where state is not correctly monitored. I'll try to work that out, but in the meantime, all subsequent uses should work.
The icon will display a yellow LED during the connection process and a green one once the connection is going.
If a connection could not be established, the LED may go briefly green, then turn off. The challenge is that the only way I can monitor the connection is with "pand -l" or "ifconfig bnep0" and if the connection is gone, the attempt to read the result from those commands simply hangs. So, I start a thread and then periodically run "pand -l". A different thread monitors the first and, if it looks stuck, I kill the process and turn off the LED. But, until I can be sure it's really stuck and not just taking time to answer, the LED will be green. Fixed!
Obviously, once the connection is broken, the LED will go off.
Since I have the LED, I've taken out most of the toast, though some still comes from the OS.
Apr-19 Fixed the widget graphics so the LED turns off instead of disappearing. Fixed the green-before-failed connection status issue. Added a proper toggle -- if the connection is off, tapping the widget turns it on and if the connection is on, tapping the widget turns it off.
Apr-20 The official version is now in the Market:
https://market.android.com/details?id=earlmagnus.nctether
May-27 Fixed a null pointer issue discovered by Ophbalance
As always, feedback is welcome.
Could you accomplish the blue tooth polite toggle with a conditional method?
Check blue tooth status,
if off, direct user to settings-> blue tooth
I know thats not as cool as a nice button press
Downloadin ur app now!
One other oddness...
... Android doesn't seem to think the tethered connection is worthy of note. If you start the browser after being connected, you'll be told you have no connection. Pages will load perfectly well, anyway.
sinanju said:
... Android doesn't seem to think the tethered connection is worthy of note. If you start the browser after being connected, you'll be told you have no connection. Pages will load perfectly well, anyway.
Click to expand...
Click to collapse
I'm pretty sure it's because Android does not natively have bluetooth DUN capabilities, at least input-wise; it's based on functions within custom kernels, and therefore the system does not recognize it as a connection capable of fueling GApps.
But I could be completely wrong / that information could be outdated; this is from my research into Bluetooth DUN for my Nook when I first got it a while ago, and I'm not much of a developer. I'd more call myself someone who likes dabbling with code, and watching everything break.
But back to this post's point: thank you so much, you are a god. I've been looking for an easier way to do this for so damn long.
Kudos, sir. Kudos.
This is very promising! Now, what is the feasibility of adding Bluetooth DUN support? A number of phones out there (to include Blackberries) do not support PAN. I've done a lot of googling and have come across one resource, which may or may not be useful: https://github.com/wertarbyte/android_vendor_cyanogen/blob/omni-tether/prebuilt/common/bin/tether
The "pand" binary is included with the CM7 ROM, but "dund" is not. How much effort would be involved in adding this functionality?
Thanks in advance and appreciate any guidance..
exactly what i was looking for.
Thanks a lot for this. Will be installing and tethering to my iphone via mywii
I will report back with results.
anonim1 said:
This is very promising! Now, what is the feasibility of adding Bluetooth DUN support? A number of phones out there (to include Blackberries) do not support PAN. I've done a lot of googling and have come across one resource, which may or may not be useful: https://github.com/wertarbyte/android_vendor_cyanogen/blob/omni-tether/prebuilt/common/bin/tether
The "pand" binary is included with the CM7 ROM, but "dund" is not. How much effort would be involved in adding this functionality?
Thanks in advance and appreciate any guidance..
Click to expand...
Click to collapse
DUN is in a whole different ballpark. I don't know what's involved.
Thanks, folks, for trying it out. I have an idea for monitoring connection status, but other than some POC work, I probably won't get to it before the weekend.
It doesn't work for me, it says tethering then tethered and then starts tethring again and this goes on quite sm time and then the internet doesn't work, i really needed this:-(
am running pherimod 5.3 and trying to tether with sony erricsion's k530i which has bluetooth networking.
rigy73 said:
It doesn't work for me, it says tethering then tethered and then starts tethring again and this goes on quite sm time and then the internet doesn't work, i really needed this:-(
am running pherimod 5.3 and trying to tether with sony erricsion's k530i which has bluetooth networking.
Click to expand...
Click to collapse
Does the application show the the phone and its BT address?
Is there a particular app you have to start on the phone before you begin tethering and, if so, does it show status if a link is established?
EDIT: Also... have you used the phone for tethering before with a laptop? Do you know tethering should work?
For the life of me, I can't think of anything that would make it loop through connection attempts other than mashing the widget repeatedly.
sinanju said:
Does the application show the the phone and its BT address?
Is there a particular app you have to start on the phone before you begin tethering and, if so, does it show status if a link is established?
EDIT: Also... have you used the phone for tethering before with a laptop? Do you know tethering should work?
For the life of me, I can't think of anything that would make it loop through connection attempts other than mashing the icon repeatedly.
Click to expand...
Click to collapse
Yes phone and address are both shown, i start tethring by taping the widget and as for the status i see nothng xcpt bluetooth icon, which shows that both the devices are connected. But am trying this with a gprs connection. i havent tried 3g yet, will that be any different?
Yes the phone has bluetooth tethring, the pc suite has a module for bluetooth internet.
I've attached a new version in the OP. Have a try.
I've improved managing the Bluetooth device. Final state of the connection still isn't reported... that will have to wait.
I would remove the widget and uninstall the old app before installing the new version.
Hm... pand --nodetach doesn't do what I hoped it would in a --connect context... So much for that idea.
I'm trying to use this app to tether my nook to my moto Droid. When I tap the widget it says there's no paired PAN device. I've tethered these two before using the pand command, so I know it's possible. Am I doing something wrong? The droid and nook are "paired but not connected", but every Bluetooth device has said that.
Sent from my NookColor using Tapatalk
Calla969 said:
I'm trying to use this app to tether my nook to my moto Droid. When I tap the widget it says there's no paired PAN device. I've tethered these two before using the pand command, so I know it's possible. Am I doing something wrong? The droid and nook are "paired but not connected", but every Bluetooth device has said that.
Sent from my NookColor using Tapatalk
Click to expand...
Click to collapse
They were probably paired while the droid wasn't advertising the profile. I rely on the list of paired devices knowing which is the network provider.
Try this:
- Remove the Droid from the list of paired devices on the Nook
- Enable visibility on the Droid
- Get the Droid ready for a PAN connection
- Then, from the Nook, initiate pairing
That should ensure the Nook sees the Droid can provide a network connection.
Now I just need my phone to just advertise the bluetooth network without having to run wifi tether.
painter_ said:
Now I just need my phone to just advertise the bluetooth network without having to run wifi tether.
Click to expand...
Click to collapse
Nothing WiFi related will help you.
My WinMo 6.5 phone just shows a list of nearly a dozen profiles it supports, PAN being one of them. My suggesting about getting the phone ready for PAN before pairing came from my experience setting up my Ubuntu system as a tethering client. Both that and the Nook recognized the PAN profile when I did that.
The only app I could find that supports bluetooth tethering and is reliable on my HTC Hero is wifi tether set up in bluetooth mode. I have been using it for over a year with my netbook.
What would make the bluetooth tethering the cat's ass would be to not to have to start anything on the phone, for the connection to always be available so i could just wip out the nook and be able to use the data connection.
painter_ said:
The only app I could find that supports bluetooth tethering and is reliable on my HTC Hero is wifi tether set up in bluetooth mode. I have been using it for over a year with my netbook.
What would make the bluetooth tethering the cat's ass would be to not to have to start anything on the phone, for the connection to always be available so i could just wip out the nook and be able to use the data connection.
Click to expand...
Click to collapse
Can't help you there... that's up to the phone.
In my case, it's an HTC Topaz and I have to start an app on that, too...
I am happy to report it works well with mywii running on my iphone and tethering from the nook.
Did not have any issues at all. And yes, i did have to hold my iphone the right way

Bluetooth Auto Connect App

Hello, i use bluetooth for tethering my Prime with my Desire HD because it consumes less battery than using WIFI-Hotspot. The Problem with this was that the Transformer does not automatically connect to the phone when enabling bluetooth.
So i wrote an App that does exactly this. It reacts on the bluetooth_state_change broadcast and then connects to the phone. The App uses some hidden Api-Calls but seems to work well.
Since i don't have a market account yet, i thought it would be a good idea to upload it here. I attached the apk and the source.
Please comment!
EDIT: Seems to work with any bluetooth device, see posts below
EDIT2: This version is outdated. Please search "Bluetooth auto connect" by refluxa in Google play. I can't post any links here yet. Also it only works with Honeycomb or higher.
redeye86 said:
Hello, i use bluetooth for tethering my Prime with my Desire HD because it consumes less battery than using WIFI-Hotspot. The Problem with this was that the Transformer does not automatically connect to the phone when enabling bluetooth.
So i wrote an App that does exactly this. It reacts on the bluetooth_state_change broadcast and then connects to the phone. The App uses some hidden Api-Calls but seems to work well.
Since i don't have a market account yet, i thought it would be a good idea to upload it here. I attached the apk and the source.
Please comment!
Click to expand...
Click to collapse
THANK YOU!!!!
This is very nice. I tried it and it works perfectly with my GNex, which I've basically been using constantly because wifi sucks. BT tether is the way to go.
redeye86 said:
Hello, i use bluetooth for tethering my Prime with my Desire HD because it consumes less battery than using WIFI-Hotspot. The Problem with this was that the Transformer does not automatically connect to the phone when enabling bluetooth.
So i wrote an App that does exactly this. It reacts on the bluetooth_state_change broadcast and then connects to the phone. The App uses some hidden Api-Calls but seems to work well.
Since i don't have a market account yet, i thought it would be a good idea to upload it here. I attached the apk and the source.
Please comment!
Click to expand...
Click to collapse
Hey thanks. Works great. I use it in combination with bluetooth headset Jabra bt3030. So simple yet so effective.
Maybe you should rename the thread. It's not only good for tethering as you can see
Hi,
sorry for my late answer. Thank you for the comments. I'm glad to hear that it is useful for you, even though i don't know why it works with headsets. I explicitly select the Bluetooth PAN (Personal Area Network) Profile.
Also i registered a developer account now and i think i will publish it there in the next days.
Looks like a very promising app. I tried it, but it crashes periodically on my AT&T Galaxy Note when I turn bluetooth on. Also, the bluetooth connected devices appear disabled - they are a very light color on a white background.
I'd love to help with this, let me know if you need more info or assistance.
Please see updated first post. You will have to wait until Samsung brings your device to ics.
Hello, I have SGS2 with ICS ROM. I have installed Bluetooth Auto Connect from Google Play because my phone doesn't want to connect to my BT car hands free automatically (manual connect always works). The auto connect app shows the name of my hansfree but the selection is unfortunately disabled. Can you please enable also other BT profiles (not only PAN) in your application? It can be very useful for another BT devices too.
Is there any way this app could allow for multiple device selection and have it recognize a "friendly name?" (if you rename the device in your BT panel)
This works great for me in my car to connect my BT, but I have a second transceiver that I use in my house that is identical, so it has the same name, and the software seems to randomly pick one of the two when BT powers up.
Allowing checkboxes for a multiple device selection to start up the BT connections would probably be enough for me, as then "random" will get both every time.
I just updated the app. Now it has support for Tasker / Locale and Multiple Devices!
redeye86 said:
I just updated the app. Now it has support for Tasker / Locale and Multiple Devices!
Click to expand...
Click to collapse
I just found this great app trough a post on the Tasker forum and installed it immediate.
I noticed that if you manually start the app it will ask you to enable BT, but is you use the Tasker plugin it doesn't enable BT.
Of course you can enable BT using Tasker before using the plugin, it would be nice if the plugin had an optin to enable BT.
Beside that, thanks for this great app/plugin.
kantjer said:
I just found this great app trough a post on the Tasker forum and installed it immediate.
I noticed that if you manually start the app it will ask you to enable BT, but is you use the Tasker plugin it doesn't enable BT.
Of course you can enable BT using Tasker before using the plugin, it would be nice if the plugin had an optin to enable BT.
Beside that, thanks for this great app/plugin.
Click to expand...
Click to collapse
Hello,
i will have to ponder on that because tasker / locale developers say that functionality that is already offered by their programs should not be reimplemented in plugins. On the other hand i also see that some users have problems because they do not know that they have to enable bluetooth first. I think i will add a little notice at least.
Have you got a guide (or a link to one) to setup bluetooth tether (HTC One X to Transformer) so I can use this app?
Do you need root on the phone to do it?
Hello, sorry but i just overlooked your post. In general its a good idea to do the whole stuff manually once. First you have to pair your devices and enable bluetooth tethering on the phone (On my non-Sense-Phone: Settings -> More... (in Wireless & Networks Section) -> Tethering and mobile Hotspot). Then on the tablet open the configuration dialog using the button with the three controllers beside the entry of your phone in the bluetooth dialog. Select "use for internet connection". Go back to the previous menu and click on the entry. Now you should be able to use the phones internet connection. This is the point where the apps come into play: The auto tether app enables bluetooth tethering on the phone after reboot (is disabled automatically) and the auto connection app simply initiates the bluetooth connection when enabling bluetooth.
Fantastic app! So useful in conjunction with tasker
I was wondering if there were plans to add a complementary feature: i.e. the possibility to autodisconnect a specific BT device. I'm looking for an app that allows me to do that via tasker to be able to toggle my BT headset connection between my phone and my tablet. I don't think any app can do that yet?
Hello,
it has disconnect functionality now (Version 0.6)!
redeye86 said:
Hello,
it has disconnect functionality now (Version 0.6)!
Click to expand...
Click to collapse
Many thanks for this addition!!
Hello, thank you for your app.
Unfortunately it crashes to me. I set it up so to connect to a joypad (that is, the iPega controller mentioned here: http://forum.xda-developers.com/showthread.php?t=2033780 ).
When I turn bluetooth on, "unfortunately the application has died unexpectedly".
Just reporting.
Thank you very much

Disable RSAP/remote sim mode?

(posted this in the wrong forum earlier)
Is there a way to disable the remote sim protocol on the S3? My carkit (RNS510 premium from Volkswagen) connects via this protocol but it's not the preferred method. There is a workarround, i can manually disconnect and then connect to the carkit via the phone (i think it connects via a2dp or something), but it's bit of a hassle. If I could just disable rsap my carkit will automaticlly connect via the other protocol (like it connects with an iphone)
If your phone is rooted you can rename /system/lib/bluez-plugin/sap.so. This should remove the SAP profile from your phone. Perhaps you have to repeat the pairing.
forza11 said:
(posted this in the wrong forum earlier)
Is there a way to disable the remote sim protocol on the S3? My carkit (RNS510 premium from Volkswagen) connects via this protocol but it's not the preferred method. There is a workarround, i can manually disconnect and then connect to the carkit via the phone (i think it connects via a2dp or something), but it's bit of a hassle. If I could just disable rsap my carkit will automaticlly connect via the other protocol (like it connects with an iphone)
Click to expand...
Click to collapse
I am so happy that rSAP is available now - before I had to root and install 3rd party software. But usually you can decide while pairing which mode you like - at least my Audi asks which connection mode I would like. Maybe you have to unpair first on both devices and the pair again.
Out of interest: Why is rSAP not your preferred method? The phone itself uses less energy, reception is better due to the build in antenna and also the phonebook features are available in the car.
The only reason for me would be the lack of data connection on the phone which is only true if your car does not provide the Wifi Hotsport function - with this my S3 is connecting to the Internet and also the car has access for online traffic info, Google Earth, etc...
bbathome said:
I am so happy that rSAP is available now - before I had to root and install 3rd party software. But usually you can decide while pairing which mode you like - at least my Audi asks which connection mode I would like. Maybe you have to unpair first on both devices and the pair again.
Out of interest: Why is rSAP not your preferred method? The phone itself uses less energy, reception is better due to the build in antenna and also the phonebook features are available in the car.
The only reason for me would be the lack of data connection on the phone which is only true if your car does not provide the Wifi Hotsport function - with this my S3 is connecting to the Internet and also the car has access for online traffic info, Google Earth, etc...
Click to expand...
Click to collapse
Grrr, why it does not want to work with MMI on A7? and he wants have disconnected, doh
I made the update, but nothing. It fails after the request of 6 digit PIN (indeed, I had 16 digits on my old BB Storm). Also with that 3rd party app, it doesn't work... what car do you have and what did you exactly to make it works?
Thanks.
Oooh...which firmware version did rsap support come in?
Sent from my GT-I9300 using xda premium
XXB LG8 for sure.
Will you try?
Sent from my GT-I9300 using xda app-developers app
Galaxy SIII x RSAP Vollks
forza11 said:
(posted this in the wrong forum earlier)
Is there a way to disable the remote sim protocol on the S3? My carkit (RNS510 premium from Volkswagen) connects via this protocol but it's not the preferred method. There is a workarround, i can manually disconnect and then connect to the carkit via the phone (i think it connects via a2dp or something), but it's bit of a hassle. If I could just disable rsap my carkit will automaticlly connect via the other protocol (like it connects with an iphone)
Click to expand...
Click to collapse
Hi there!
My name is Andre and I installed a Volkswagen Bluetooth kit with the remote SIM feature.
As I paired my Galaxy SIII with the kit, my phone asked me a couple of things that I auto answered yes...
The first one was about giving permission to access my SIM.
After that my phone always entered in remote SIM mode with the kit.
Today I remade the pairing and when my phone asked to enable access to the kit for my SIM... I answered NO (and checked the box "do not ask me this again").
Now me, my phone and my car seem to be understanding each other.
Hope that this was of any help,
Andre

WiFi Disconnect

I am currently connected to WiFi via SSID. How do I disconnect that current connection?
You should be able to see the list of remembered networks in Settings->Wifi Settings on the watch. Scroll down the list and the option should pop up.
neezy13 said:
You should be able to see the list of remembered networks in Settings->Wifi Settings on the watch. Scroll down the list and the option should pop up.
Click to expand...
Click to collapse
Thanks for the reply, but I did not want to change the settings but wanted remove a WiFi connection.
Since I am on BL, can not find a benefit for having it. Do not want it just seeking other WiFi signals.
cyaclone said:
Thanks for the reply, but I did not want to change the settings but wanted remove a WiFi connection.
Since I am on BL, can not find a benefit for having it. Do not want it just seeking other WiFi signals.
Click to expand...
Click to collapse
Turning off Cloud Sync in the Android Wear app will disable the wifi connection.
Sent from my SAMSUNG-SM-G935A using Tapatalk
Just found in the settings a On or OFF mode. That was simple.

Create 1 click Bluetooth device connection

Hello to all. I paired one device and for Connect it i must go to settings, Bluetooth and select this device.
I ask if is there a way to connect with only one click with any app.
I founded a app calked bt tag writer that does this, and i ask if there is this one command with nfc, why is impossibile create a widget so working?
I hope an answer
i help many users adding the solution:
"AutoPlay Bluetooth&Headphones" in playstore is free

Categories

Resources