You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Hello friends. I want to make an idle earning system that gives you $10 every 5 mins. Everything is fine except for the Clock1.Duration block. Can you guys help me fix it? Here is my code:
Thanks!
TimAI2
unread,
Sep 7, 2019, 6:47:48 AM9/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
quickly....
Use Do It when running in Companion to test your blocks
Set your Duration as Minutes as a variable at the top, then use that throughout, otherwise it may change during the calculations
Ghica
unread,
Sep 7, 2019, 7:04:23 AM9/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Are you prepared to leave your app running and open permanently?
Because App Inventor cannot run in the background.
If you still want to keep track of the time every time you open your app, be sure to store timestamps in an TinyDB.
Cheers, Ghica.
TimAI2
unread,
Sep 7, 2019, 7:17:36 AM9/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
Durations are a bit weird
Try with millis, something like this:
Raymond Mak
unread,
Sep 7, 2019, 9:25:13 AM9/7/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message