How did it go with Bluetooth classic and the permission problems with Android 12 and up. Is it possible to download a working module and if so where can I find it?
In general, the AddressesAndNames block will raise a permission issue if the permission hasn't been granted on Android 12+, in which case you should handle that error. However, I've seen many examples where people use this block in the BeforePicking event of a ListPicker. Unfortunately, because this event happens during a UI transition to a new activity, the permission request dialog is lost in the mix.
If you are using the technique the ListPicker, then I would advise you to ask for permissions earlier in your app's execution.
We are working on a longer term solution but it will take some time to implement.
Thank you for your ..._test2.aia. I'm not really good at this. I try your solution by the Companion connection. I can se my BT but when click on my BT device nothing happens at all.
I have my Arduino solution up and going and I can connect without any problem to serial apps like "Arduino Bluetooth control" and "Bluetooth terminal" and den send receive serial data. The apps don't have any problems with security and so on.
Your topic is about permission problems, not about connecting ... (And there should be no more permissions problems, neither with Companion nor with the APK.)
OK thanks I'm so distracted... Now I have everything set up including your "blocks" and then I can connect via my own list view. Can also send data to the device.
Thank you very much Now it's just a matter of working on with the horizon in sight... I hope.
How can I get your "GetApiLevel1" into my other experiment monitor designs? Now I built further in your BTclient_test2.aia.
Does anyone have a free Bluetooth control that can see nearby devices and connect to them without them having already been paired with the phone?
I've seen Taifun's control that can do this, but it's not free.
what about writing another bluetooth extension yourself and providing it for free to the community? More information about how to create an extension see the App Inventor Extensions document , however that will be more advanced and will require some Java skills...
You can start learning all you need to learn to do it, then do it, after long days of trying things, testing and failing, all in your spare time, leaving other things you like to do for this.
Then after all that time and intellect invested, just give it out for free so everyone can make money with it except you.
Sounds awesome right?