-MIT AI 2- Need Some help with "keeping in memory" and "weekly reset"

18 views
Skip to first unread message

Team Gamefy

unread,
Feb 3, 2015, 4:40:09 PM2/3/15
to app-invent...@googlegroups.com
Hi everyone, I'm looking for someone that could help me or can post a tutorial about how to do this (probably for you) simply stuffs:

My app is composed by a main page which have other 3 sub pages,
in this subpages I had put some checkboxes (first of my problems, they wont stay saved if i change page)
The second main problem is that I am not able to set a weekly reset of that Checkboxes ( I want that to reset every tuesday at 10)

Thanks for everyone could/want to help me.

Larry McNeill

unread,
Feb 4, 2015, 4:08:06 PM2/4/15
to app-invent...@googlegroups.com
One thing I did to handle losing data when you change pages was to use just 1 page. Initially have the info visible that you want to appear as the main page. when you want to change to another "page" just hide the subroutines that were visible and unhide the ones you want to show. then the data on the page does not get lost. You will want to eventually save all the information before you close your app but this will allow you to move around and manipulate data without losing it.

Larry

David Wolber

unread,
Feb 4, 2015, 5:18:26 PM2/4/15
to app-invent...@googlegroups.com
Hi. You can use TinyDB to store data between screens (note that you have a TinyDB in both screens, but there is really only one database internally). See http://www.appinventor.org/content/howDoYou/screens/share

Dave



--
You received this message because you are subscribed to the Google Groups "app-inventor-gallery" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-gal...@googlegroups.com.
To post to this group, send email to app-invent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/app-inventor-gallery/a7385062-c0d6-4421-a119-4b02b09639b0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Team Gamefy

unread,
Feb 5, 2015, 12:04:11 AM2/5/15
to app-invent...@googlegroups.com
Thanks for reply, I'm struggling to find a tutorial on how to do this project... anyone can suggest how to bend checkboxes to Tinydb ? Everything I have found it's always about textbox. Thanks 
Reply all
Reply to author
Forward
0 new messages