My students are coding a quiz app from the Mobile CSP curriculum, and they have the correct code. But sometimes the result reads ‘correct’ and then ‘incorrect’ on the same app later. Also, apps with the same exact code work differently. There are not too many parts to check for errors…
There is no database in use, but could it be related to me testing them all on one device?
For example, I thought I found an error in one of the Screen Initialize events, so I changed it and it worked. Then I closed the app and restarted the same program, and now it doesn’t !
Are all of your students working on the same project through code.appinventor.mit.edu, or are they sharing the .aia file between different accounts?
iirc, if multiple people work on the same project (on code.appinventor) at the same time, some changes may not save.
Using companion means that the same assets and other resources (e.g. tinydb) may be still present, because the app is actual the companion app (edu.mit.appinventor.aicompanion3) and not the "app" of the aia project.
Without seeing an example aia, difficult to say more...
Oh sorry. This is a Quiz app from our curriculum. They don't share or write them together (can you even do that?) They don't have a tiny db in their programs, but we did have one a while back - but the tags are not referenced and those had locations and lat longs in them.
I will attach a file. But you would probably have to have a few files to test what was happening on my phone and tablet as I tested them. I added 4 here
By the way, they worked on the students individual devices with the companion app, but only some of them worked, even when they all had the same exact code. (they are following a tutorial).
Even on the same aia file during the same testing run. It would say correct and then later it would say incorrect on the same student's app during the same connection
I see the Completed project well. The only problem I see with Matt Weise is that the answers are sensitive to capitalization. The AnswerTextBox should be reset between questions.
In both cases, a trim block would also be useful to avoid errors due to spaces at the beginning or end.
But I think these things don't explain what you're saying...
It is weird. I will have them all run theirs and their neighbor's apps when we get back on Monday to see what is going on. It will be annoying if I cannot test their apps lol