Help make taymier off .

3756 views
Skip to first unread message
Assigned to scottfr...@gmail.com by me

melnik....@gmail.com

unread,
Jan 30, 2014, 6:02:14 AM1/30/14
to mitappinv...@googlegroups.com
Help make taymier off .
Hello.
I make an interesting application, but for whatever it worked fine I have to do the off timer .
I have implemented a timer in a separate window and all other windows I made ​​the switch to the timer, but for some reason it does not work !
should work so that when a user visits a page timer and presses the button to turn off after 5 minutes the timer and must disable all application in 5 minutes. But I did so after clicking on the button to turn off after 5 minutes , and the timer window zakryvaetsya user moves from there to come in, and may in this issue?
tell me what to do?

josmasflores

unread,
Jan 30, 2014, 10:56:16 AM1/30/14
to mitappinv...@googlegroups.com, melnik....@gmail.com
Timers only work in one window. Also, App Inventor applications only work when they are on the foreground, so having a timer for 5 minutes is not reliable.

quadr...@gmail.com

unread,
Jan 31, 2014, 5:06:32 AM1/31/14
to mitappinv...@googlegroups.com, melnik....@gmail.com
use a timer 10 seconds to prompt empty notifier with no background that will prevent your application from going to "sleep" :) You just have to use home buton instead of back arrow, the application will run in background at the timers cannot be stopped. Hope it helps

quadr...@gmail.com

unread,
Jan 31, 2014, 5:40:20 AM1/31/14
to mitappinv...@googlegroups.com, melnik....@gmail.com
example blocks picture
Bez tytułu.jpg

marialy...@gmail.com

unread,
Apr 3, 2014, 1:49:17 AM4/3/14
to mitappinv...@googlegroups.com, melnik....@gmail.com
thank you so so so much, i can't explain how much. It was vital for my app not to close, as loading again means 60 seconds, so you made my day. Hope it helps other people too, as much as it helped me.
(btw it works even without the notifier block (as in my case it showed a small grey rectangle in the middle of the screen, and without it is perfectly well)

31 януари 2014, петък, 12:40:20 UTC+2, Piotr Stępień написа:
example blocks picture

Scott Ferguson

unread,
Apr 3, 2014, 10:07:02 AM4/3/14
to mitappinv...@googlegroups.com, melnik....@gmail.com
Cool solution, Piotr Stępień!
Thanks for sharing!
----
Scott

On Friday, January 31, 2014 4:40:20 AM UTC-6, Piotr Stępień wrote:
example blocks picture

Sofia Parra

unread,
Jul 15, 2014, 2:09:18 PM7/15/14
to mitappinv...@googlegroups.com, melnik....@gmail.com
Really really good Thanks, finally I found a solution :)
Reply all
Reply to author
Forward
0 new messages