when is BLUETOOTH_ADMIN android permission required
Solution 1
Searching the codebase for BLUETOOTH_ADMIN
reveals many places where it is documented.
Solution 2
public static final String BLUETOOTH_ADMIN
Allows applications to discover and pair bluetooth devices
Constant Value: "android.permission.BLUETOOTH_ADMIN"
As you can see, everything that has to do with pairing and discovering of bluetooth devices
Coding man
Decent knowledge of OOPS concepts, delegates, events, event handlers and multi-threading with overall 4 years of experience in the development of web-based applications using .NET framework, C#, Angular JS, ASP.NET, REST API, WCF, Windows Services and related technologies. I also have experience in requirement gathering, developing software products and unit testing. I am passionate about writing readable, clean and organised code keeping in mind the performance impact. I like what I am and keep improving myself slowly but consistently in both personal and professional life.
Updated on July 24, 2022Comments
-
Coding man almost 2 years
I read here http://developer.android.com/guide/topics/connectivity/bluetooth.html that :
If you want your app to initiate device discovery or manipulate Bluetooth settings, you must also declare the BLUETOOTH_ADMIN permission
What I think is that methods like
cancelDiscovery()
isDiscovering()
startDiscovery()
requires the BLUETOOTH_ADMIN permission.
Are there any other methods that requires this permission?
-
IgorGanapolsky almost 4 yearsDoes this include BLE pairing?