General :: How To Switch Bluetooth Adapter On And Off From Shell
Dec 31, 2012
Are there commands to switch the bluetooth adapter on and off from the shell? Googling has turned up nothing in particular.
(If it matters, I'm using a Galaxy Nexus, and trying to put together a script to cycle my bluetooth adapter on boot.)
View 1 Replies
Jan 27, 2012
Basically what am trying to do is use my HTC Amaze 4G or my ASUS Transformer as a usb blutooth adapter for my pc running windows 7 so i can connect my ps3 controller or wiimote via bluetooth so i can use it as a game controller. I figure since i have both of these devices that are bluetooth capable i wouldn't have to buy a usb bluetooth adapter. how to do this or if there's some required app or driver?
View 1 Replies
View Related
Dec 5, 2010
I have a Plantronics headset, and a Sony car stereo (w/ BT). When I'm in the car, I prefer to use Bluetooth over the stereo, so I'm looking for a quicker way to swap between the two devices without having to go into settings.
Auto-switching would be preferable, but a widget that can just bring up all device so I can select which one I'd rather use, would work, too.
View 11 Replies
View Related
Aug 31, 2010
I've seen discussions on how to use your android phone as several different things, ranging from a wireless hot spot to a keyboard/mouse. There are instructions all over on how to tether your phone to use it as a wireless modem, but I've never seen mention on whether or not it was possible to use an android phone as a USB blue tooth adapter. My Android phone is blue tooth enabled, but neither of my laptops are. Is there any way to use the phone as a blue tooth adapter when connected to the laptop via the USB cable (giving the laptop blue tooth capabilities)? I know I can always just buy an adapter from the store, but I wanted to see if this was a possibility first.
View 1 Replies
View Related
Sep 23, 2011
I'm writing an app which contains three tabs.. let's just call them TabA, TabB, and TabC.
In my main class which extends TabActivity I have a Bluetooth Adapter which handles sending and receiving messages. I initialize the BluetoothAdapter onStart. Part of the initialization tries to reference controls on the three tabs. But my problem is that only TabA (my default tab) has been initialized at this point so when it tries to access TabB and TabC, they're still null.. How can I initialize all 3 activities, and access controls on each of the tabs when receiving messages from the BluetoothAdapter? (Basically I want TabA to contain a TextView to log all messages, TabB will contain a few controls like sliders and checkboxes that will change based on the messages recieved, and TabC will just have an array of buttons that send specific data..)
View 1 Replies
View Related
Mar 20, 2010
I was looking for a bluetooth device that I can connect to my Home theater receiver. Size is not an issue as it will sit in the closet and will be running on AC power all the time. I saw this real cheap device on deal extreme but reviews aren't great. DealExtreme: $12.99 Bluetooth 2.0 A2DP AVRCP Stereo Music Receiver and Handsfree (Black)
I also found this. Amazon.com: BlackBerry Bluetooth Stereo Gateway: Cell Phones & Service . It is made for BB but will work with any A2DP device. A mini usb AC adapter is required for power source. Also found a motorola device for this. Motorola 89015J Dc800 Bluetooth Stereo Gateway | Discounted prices on all Bluetooth Headsets for the All All - shopcell.com
View 3 Replies
View Related
Jul 7, 2010
I have searched but cannot find an answer to this. I have a friend who has an older android phone, I think it is a vodaphone branded phone, he has the ability to turn on bluetooth and if a connection is not made within a short time bluetooth automatically turns off and it also turns off if it is not connected for a short period. Sounds ideal if you want to connect to a head unit (bluetooth enabled car radio).I have seen such an app for android but it was only for Andriod 1.5 (or 1.6) and not any version newer than that - is there such a thing for 2.1 and 2.2 in the future?
View 2 Replies
View Related
Sep 28, 2010
Does anybody know of an app that can switch off your bluetooth depending on your GPS position? I want to automatically have my Bluetooth switched off when I am at home and switch it on again when I am away from home or more than a certain distance away from home.
View 12 Replies
View Related
Sep 2, 2010
FRG22D was installed, fully rooted. The only problem is the grayed out Bluetooth ON/OFF toggle. On occassion, it will light, very rarely, but when you click it, it goes to gray. The suggested threads provided no useful information cincerning this problem
View 1 Replies
View Related
May 15, 2013
if there is an folder app or a way to get the cool folders from TSF SHell with their nice animation or feature to pull out the apps with a wipig gesture?
View 1 Replies
View Related
Sep 13, 2012
Some directory of the Wallpapers of TSF Shell?
I want set one as my lookscreen.
View 3 Replies
View Related
Jan 29, 2013
Is there any method to install a modding zip, like SystemUI mod, via adb shell instead of CWM?
View 3 Replies
View Related
Jul 20, 2012
i want to run su -c "chroot some/folder /some/script" from within a shellscript but it just does nothing for a moment and fails then. it works if i run it directly from the shell or if i am already root.
View 2 Replies
View Related
Nov 8, 2012
The latest version of Google Now (2.1) doesn't like being flashed. If you flash it via CWM it seems to break voice search functionality, causing a force close.
Playing with the adb shell, I discovered that the pm install command works nicely:
Code:
pm install [APKNAME].apk
So, I thought this would be perfect to execute in a shell script via CWM/Edify.
So far I've tried all manner of commands. First I was trying the above command in a install.sh file, before I realised that "pm" wasn't present anywhere in /sbin/ (the header of my shell script is #!/sbin/sh").
So, I've tried this:
Code:
#!/sbin/sh
exec /system/bin/pm install data/media/install/Velvet.apk
Here is the update script:
Code:
ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Mounting data...");
run_program("/sbin/busybox", "mount", "/data");
[Code] .....
Which, copies the files correctly. This also isn't my first time running scripts in my installer, but this is the first time I've attempted this. To no avail. This same command works in the adb shell, though.
Also, is there another way of flashing that may work? I heard about putting the original file ("Velvet.apk") in /system/app and then putting the updated version in /data/appcom.google.andorid.googlequicksearch-1.apk but this doesn't work either.
Running the above script in Busybox installer's script running function also works perfectly. The only thing it won't do is install from CWM.
View 2 Replies
View Related
Jun 25, 2013
i have created a TSF Shell theme and is working perfectly on my device. However, the same is not the case when installed from Play Store. The theme refuses to show up in TSF Shell themes.
View 2 Replies
View Related
Feb 11, 2012
Cyanogenmod 7.2 has vim (and nano) installed, but when i use vim, the full size of my terminal is unused, and the cursor position and what is displayed become asynchronous. I have tried setting TERM=linux and TERM=xterm (I'm using OS X terminal which emulates an xterm), but neither get me a working vim. vi, which is part of busybox works fine. nano also fails to use the height of my terminal window, and additionally the enter key is broken.
Any way config to get a working vim using android?
View 1 Replies
View Related
Nov 8, 2012
I have an Amazon Kindle and the SGS2 which I take out and about with me.
I want to be able to transfer documents to and from the phone and Kindle (already got SSH access to the Kindle over WiFi) while out and about.
My phone is rooted and I've installed dropbear SSH. I can use connectbot to SSH into the phone locally but the shell I'm presented with doesn't see `scp`. I believe this is supposed to be included with dropbear? How do I get scp from this shell?
The reason I'm looking to do it all from a root shell on the phone is becuase I believe this is the only way to get access to the clients connected to the virtual access point. Hence I'll be able to:
be in the middle of the desert, create a WiFi tethering hotspot with the phone (though it has no signal), connect the Kindle to the phone via this access point, get a root shell on the phone and scp documents from the phone to the Kindle.
I believe I am as far as this final step but need an extra kick to get me there. Perhaps I need to install another shell?
View 3 Replies
View Related
Feb 8, 2012
i am using spb for a long time.but there are many other cool, clean launchers which do not need as much cpu/ram.so i do not need most of the spb thinks. i do not use most of the spb widgets.but i really really love the 3d sms and 3d birthday widget.
It is not possible to get widgets running outside there own launcher.i searched the web for a really long time to find widgets which are looking as cool as this 2 widgets.tell me such widgets so that i can drop spb and use it in an other launcher?
View 4 Replies
View Related
Mar 29, 2012
is there any tool for creating TSF Shell theme ? (like go theme factory)
View 1 Replies
View Related
Nov 6, 2011
HTC sensation blackscreen, trying to flash a nand backup. ADB, fastboot and Shell working.
I got into shell, can #ls that directory ok ..#cd sdcard... try to #ls sdcard or any other folder and will not show content. Im not up with linux commands. I believe I am missing a mount command somewhere.
What Im after is the location of backup folder so I can see the filename of the nand backup to restore in fastboot. And the commands necessary to restore a nand backup via adb, shell or fastboot.
View 9 Replies
View Related
May 1, 2014
What does this mean? is it normal? i have it showing up quite a few times in my superuser logs. like, several times within a minute. today is the first day. been running this rom for about a week.
I read that disabling usb debugging will stop it, but thats already disabled...
I am running dmans stock ics for samsung captivate glide.
View 2 Replies
View Related
Nov 30, 2012
I have chinese tablet, probably it's a any product of MID, becouse on start appear MID logo, perhaps it's only firmware from MID devices. At the back I can see m70008 maybe it's version of tablet. That tablet was blocked by too much write bad pattern and don't know google e-mail. So I tried do wipe data via adb, and probably I do wipe all . Tablet stuck on bootscreen, and system don't start. If I try run shell via adb I get error "- exec '/system/bin/sh' failed: No such file or directory (2) -"what I have to do ?.
View 1 Replies
View Related
Jul 2, 2012
I'm using ICS (AOKP with some CM9 patches). I'd like "adb shell" to bring up bash instead of mksh. Is there any way to do this? I tried linking /bin/sh to `which bash`, but that caused system problems--I lost USB debugging completely and had to restore from nandroid backup.
View 2 Replies
View Related
Jan 14, 2014
I am trying to create a tasker automated thing, which would show a scene which will have a button to execute a shell command (The command should be executed as root). how to do it?
Code:
reboot recovery
View 1 Replies
View Related
Jun 17, 2013
I'm trying to unzip an apk using the device shell. I need to see the package name of the app contained in the apk. I tried using unzip -l but I just get output that says "zip flags 1 and 8 not supported". How can I unzip an apk? For that matter, am I using the right tool for this job? I just want to view the manifest of the apk, really. I have busybox.
View 4 Replies
View Related
Sep 18, 2013
I am having trouble finding the right command to copy a file from a device via adb shell to my pc. I tried -mv- but that just renamed it.
Code:
mv Camera c:/camera
renamed to c:camera
View 5 Replies
View Related
Feb 13, 2013
I am completely lost in trying to implement a silent install-from-apk-file and unistall-package-name by using the adb shell command 'pm'.
I'm doing the project in Eclipse, emulator 2.2, rooted (tested during runtime using RootTools.isRootAvailable()).
Here is the relevant code:
Code:
@Override
public void onClick(View v) {
switch (v.getId())
{
case R.id.btnInstall:
[Code] ......
In the code above I have hardcoded the command for the case 'R.id.btnInstall' to make sure there's no typo, but I get a return value of 9 from install.exitValue().
View 1 Replies
View Related
Jun 2, 2014
I pushed + and power the red triangle pops i went to adb devices it showed the devices on recovery mode. Is there a command that i can put to wipe data? Such as adb shell command.
View 1 Replies
View Related
Oct 26, 2011
is it possible to send sms via adb shell from pc to android phone (via usb) ??
View 4 Replies
View Related
May 16, 2013
I decompile an apk (an ordinary TSF Shell theme) without any problem but when it comes to recompiling. Its always the same error. Trying this for a week with apktool, tickle my android and with apk multi tool. When I send my decompiled files to my friends they can compile it but on my computer at home or at work I get the same error forever. I have Windows 7 Ultimate 64 bit installed. You can see installed java version on the code.
Code:
|16.05.2013 -- 23:22:52,12|
--------------------------------------------------------------------------
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
[code]......
View 1 Replies
View Related