from http://developer.android.com/guide/topics/connectivity/bluetooth.html i know that i need to the following to request the user to enable his BT:
if (!mBlueto
Did you set proper permissions in your AndroidManifest.xml
file?
For sure, you will need BLUETOOTH
permission.
...
In addition, as documentation says:
If you want your app to initiate device discovery or manipulate Bluetooth settings, you must also declare the
BLUETOOTH_ADMIN
permission.
If you want to enable one of these features you will need the following code:
...