BluetoothAdapter using ACTION_REQUEST_DISCOVERABLE

1.1k Views Asked by At

I am trying to use BluetoothAdapter with ACTION_REQUEST_DISCOVERABLE to discover my phone to other users according to this:

     testIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);
     startActivity(testIntent);        

I get the dialog box of Bluetooth Permission Request, but for some reason I can't see it on my activity. I can see it only when I exit this program. I want to override the menu in that dialog.

Can I do it , if so , how can I change it ? And why can't I see it on the activity I am in it ?

0

There are 0 best solutions below