Problem in making Bluetooth remote for Arduino robot (urgent)

Hello.
I’m making a robot based on Arduino Uno, and I wanted to give simple commands using an Android app through Bluetooth. However, whenever I open the app, the app crashes. Could someone please guide me with this problem? This is really urgent.
Please find the .aia files in this post. The one named “remote_bluetooth” is the original app which is functional (I found this in the community).
The second one “Automaid_app” is my modified app.
Automaid_App.aia (1.3 MB)
remote_bluetooth.aia (4.1 KB)

Next time please search :mag: community. If you have read Avoid Crashes of the Application for some of the components

Elements from string empty causes crash

Just add in elements a,b,c .Compile app and it will run

1 Like

Hello! Thank you so much for a swift reply.
Can you just brief me What is the function of ‘Elements from string’?
Thanks in advance

1 Like

You can use a text string separated with , to set elements in listpicker.

Since you are setting elements with blocks this setting does not affect your program but is has to be filled to avoid crash after Kodular’s latest release

Here is the corrected aia

remote_bluetooth_1.aia (4.2 KB)

Thank you so much for your help, the app is now working!
Thank you so muchh

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.