Hello all,
i have just started using MIT app inventor 2 for connection to mu HM10 BLE module connected to my Arduino UNO.
the app code from the following link works perfectly fine with AI companion(i can see the list of Bluetooth devices and connect to one) on my Samsung M51 (Android version 10) but if I build a .apk and download via QR code to my phone an install it i can see GUI properly but unable to see the list of Bluetooth devices (so cannot select one for connection)
Well the phone is using BLE 5 and the HM 10 BLE 4, plus you have been able to list devices when running under the Companion, so everything should be fine as an APK too.
Does your App ensure that Google Locate is switched on? It's a security measure and no other device will be listed with Location switched off.
It's also possible that what you see on Screen looks OK, but the App not 100% right in the phone's memory because of an issue during installation. I have a Check List for you to go through on my website:
Hey ChrisWard,
Thankyou very much this has solved the problem, now the apk that installed on my devices(android version 10) works as expected.
have a fantastic weekend ahead.