Hi all,
I am very new to the MIT App Inventor, and the first impression is great.
However, I already have a (small) problem where I did not find a solution - yes, I have been searching in the manuals and here, but I did not find the answer.
I am trying to do a Bluetooth-connection to a ESP32 - and, it basically works like a charm After a very short time I already was able to send and display data from my ESP to the mobile.
But, I would like to show the connected device name also somewhere on the screen. Ok, I thought with the ListPicker.SelectionIndex it should not be a problem to get this information.
However, what I see, ist that - whatever I select in the ListPicker - the SelectionIndex is always 0. On my screenshot I selected Nr. 7 (ESP32), the last one in the list. Also, when I output the ListPicker.selection, I only get true instead of Addresses / Names.
Any explanation for that?
Remark: I know that for Android >10 I need the permission stuff - this works also, but for now to keep it simple I use my Android 10 device fot testing...
Thanks for any help and explanation what I am doing wrong.
Alfredo
the blocks:
the designer:
on the phone after connection to the ESP: