Hello,
I'm new to MIT app inventor, and i haven't figured stuff out yet. Can anyone tell me what's wrong with these blocks? I saw some people making spreadsheets, but I don't quite understand how to do that. Please explain what to do to make it work simply.
You already have more than one TinyDB1 tag. In this case, it's retrieving data from the "bucket_list" tag, instead of the "switchScreens".
I've updated your project with if-else statements (to make the code more readable), and the username and password now all save to a definite tag (named "us_p"), so you know which tag it's reading from. This should eliminate the problem of having multiple tags in your TinyDB.
If you still want to use the username as a tag, you need to store that in a separate TinyDB tag, and then use it while retrieving the password. fun.aia (5.9 KB)
But whenever i input the password and username after registering the account "Run time error. The operation select list item cannot accept the arguments:" pops up. I test the app on my android phone, with the app "MIT AI2 Companion" downloaded. Do you know what's wrong with it?