[android-developers] Re: How to enable / disable Bluetooth

2009-01-29 Thread moose
use the getString or the putString method instead and then convert to a boolean or integer. I am having a problem myself. doing a getstring of this property always returns "1" whether the blue tooth is on or not. Anybody else see this behavoir? Anyone have a solution to finding out if the blue

[android-developers] Re: How to enable / disable Bluetooth

2009-01-08 Thread bendavis78
Hi, did you ever figure out how to do this? On Dec 1 2008, 8:18 pm, RM wrote: > Hi folks, > > I'm writing an app that will, among other things, disable Bluetooth. > To do this, I've set the "android.permission.BLUETOOTH_ADMIN", and > inside an onClick() listener I'm using the following: > >   S