Android Question Bluetooth Discovery problem with Android 10

Status
Not open for further replies.

menneaduplo

Member
Licensed User
Longtime User
Dear all,
I have a problem with Bluetooth discovery present in the tutorial https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/

The original project (without modifications. In the manigest there is targetSdkVersion = "26".) works up to Android 9 devices.

On Android 10 it doesn't work. Tested on Samsung A51.
StartDiscovery always returns false.
I think it's a BluetoothAdmin compatibility issue.

You can help me?
Thanks in advance
 

menneaduplo

Member
Licensed User
Longtime User
Yes the dialog box with the request for authorization appears (obviously only the first time).
Location services are active but it doesn't work the same.
 
Upvote 0

ema01

Member
Licensed User
Longtime User
Sorry to reply on an old thread, but FYI i am experiencing the same problem on my Xiaomi Redmi Note8T, since the update to MIUI 12 (which carries android 10).
Only way to get bluetooth to work was to set SDK Version to 28, so it seems it's not a problem on samsung phones only
 
Upvote 0

MbedAndroid

Well-Known Member
Licensed User
Longtime User
possible. I'm running the app outside GooglePlayStore, so it wasnt a big issue for me. But for the future i hope someone has a solution.
For Erel: i'm using the latest update BT as shown in the examples.
Unfortunally i cannot check it, i dont own such a phone
 
Last edited:
Upvote 0
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…