I need to store data permanently hence tinydb and global variables, still got issues with old data staying in the list thought!
might be what you want to do in addition to all the advice fro ABG
Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .
Also look here http://kio4.com/appinventor/index.htm and here http://www.imagnity.com/tutorial-index/ for more tutorials.
Can't do that I need the old data for comparisons!
Also no one has addressed thing issue the data doesn't clear, I think there's a bug in app inventor.
What data?
Show us.
No Bug, sorry. Malfunctioning logic perhaps.
you clear data then you add items to list list global data so data is filled with stuff again.how do you want me to show you?
yes new stuff. I'm beginning to doubt your knowledge.
Get your Companion up and running, so you can use the Do It facility.
Prepare three screen shots:
- a Do It of the value (in a read TinyDB or get global variable) of the data before your clear operation
- a Do It of the operation that you believe should have cleared that location
- a Do It retrieving the value in that location immediately afterwards.
Then post them here, in that order.
can I post a video on here of my app working?
No, you made a specific complaint about a specific part not working.
The proof must be as specific, other wise it is not actionable.
strangely enough when I set a text box to the data in global data right after I clear it it shows empty but it isn't because new data adds to it! I think that's how it might behave in the companion, which I've never used by the way.
You might find it instructive to read a thread discussing what may or may not be a bug in the handling of csv table conversion in an extreme exception case. Notice how the people discussing the case offer specific examples to back up their arguments.
Yeah I'm not trying to trick anyone I want it to work.
tell you what I'll upload a video tomorrow.
no
please provide a screneshot of your relevant blocks as sugested by @ABG and show us, where exactly you are using the create empty list block to clear a list
thank you
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
try to keep up, I've already done that.
Sorry thought you were talking about the emulator. What's the do it facility? I'll get the screen shots later but think a video would show it better.
The 'do it'selection stays greyed out.