Oh crap, I just noticed BluetoothAdapater is API level 5. What can I use with API level 4?
On Feb 9, 12:33 pm, flsobral <[email protected]> wrote: > Hello. > > I'm looking for a way to enable, disable and return the status of a > radio device, which may be the cell phone, bluetooth or wifi. > To check if the radio is supported on device, I'm using the following > for phone: > ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE); > for wifi: > ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_WIFI); > > How do I check if the device supports Bluetooth? > > I'm using BluetoothAdapater and WifiManager to control these devices, > but I haven't found a way to control the cell phone. > > How can I check the phone current status and enable or disable it? > > Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

