Alessandro71 Well-Known Member Licensed User Longtime User Oct 16, 2022 #1 While converting my app to SDK 31, I'm getting an exception on this call B4X: Dim PairedDevs() As Object = jo.RunMethodJO("getBondedDevices", Null).RunMethod("toArray", Null) Does simply getting the list of bonded Bluetooth devices need some permission running on Android 12?
While converting my app to SDK 31, I'm getting an exception on this call B4X: Dim PairedDevs() As Object = jo.RunMethodJO("getBondedDevices", Null).RunMethod("toArray", Null) Does simply getting the list of bonded Bluetooth devices need some permission running on Android 12?
agraham Expert Licensed User Longtime User Oct 16, 2022 #2 Apparently yes. Version code S is API 31 which is Android 12. https://developer.android.com/reference/android/bluetooth/BluetoothAdapter#getBondedDevices() Upvote 0
Apparently yes. Version code S is API 31 which is Android 12. https://developer.android.com/reference/android/bluetooth/BluetoothAdapter#getBondedDevices()
Alessandro71 Well-Known Member Licensed User Longtime User Oct 16, 2022 #3 Bad news… this call is deep inside Initialization of the app: now I have to pull it out just after a permission request… Upvote 0
Bad news… this call is deep inside Initialization of the app: now I have to pull it out just after a permission request…