Timer resets when switching screens

25 views
Skip to first unread message

Aniroodh Ravikumar

unread,
Oct 12, 2014, 11:22:46 AM10/12/14
to mitappinv...@googlegroups.com
I'm trying to create a timer app with multiple screens.
But whenever i switch screens, the timer gets reset.
I've tried just opening the other screen, closing the current screen only and Tribblehunter's method where you can do both: http://puravidaapps.com/tribblehunter.php
Does anybody know how i can switch screens without the timer resetting.
Thanks in advance

Mustafa Jukic

unread,
Oct 12, 2014, 11:46:57 AM10/12/14
to mitappinv...@googlegroups.com
Save before you channge screen the time value in tinyDB and onload new screen get the value in new timer.

i hope this helps


good luck

Aniroodh Ravikumar

unread,
Oct 12, 2014, 12:08:20 PM10/12/14
to mitappinv...@googlegroups.com
Ok, firstly there are different values in each timer in each screen. I just want the timers to retain their values without resetting. Secondly, there are ten timers and 7 screens in all, so is there any way i can do this without storing the values in TinyDB?

Mustafa Jukic

unread,
Oct 12, 2014, 12:34:55 PM10/12/14
to
you can play with function "open another screen with Value ....

and

other screen closed "name and result" to put it in timer value.



ps: here are some pictures and a demo i create.


good luck
Screen1.png
Screen2.jpg
ScreenSwitchTimer.aia
Reply all
Reply to author
Forward
0 new messages