I’m new of app developing world and I self learned a few of tricks by using MIT Appinventor 2, now I need to create a function for to scan a QRcode with various informations, and report them as strings in various text box.
For ex.:
I generate a QR code for following items:
Name,
Surname,
Address,
Phone etc.
Now I need to create a block that when I scan the QR Code send “name” on textbox1, “surname” on textbox2, “Address” on textbox3 etc.
How can I do? I tried to search it online but found nothing.
The barcodescanner can also read QR codes... Is that not what you want to do?
What about trying something and if you get stuck, post a screenshot of your relevant blocks?
When creating the QR code, try separating each field with a comma, then use the list from csv row block to make a list, which you can then use to populate your textboxes.
Thank you everybody for helping, here attached what I’ve done:
I used math block for to index row items, but what I obtain is always the whole text in the first textbox, then it get me an error message accusing row 2 missing.
it does not look like you know how to debug an App Inventor project...
you might want to display your result after scanning in a label to find out, what exactly will be returned ... is it a list, is it a csv row, what is it?
As I told, I’m not an expert, but I’ve already done everything you said about debugging, may be I wasn’t able to explain what I really need, although TIMAI2 gave me the right answer and now it works.
Thank you very much for your time.
Everyone have his ability, if you need to weld something, just ask to me