Persistence on iOS (and Android)

Ralph DiMola rdimola at evergreeninfo.net
Thu Jan 24 19:30:46 EST 2013


As far as I've seen with using LC straight up... Hit the home button on
Android it stays running until the OS reclaims the memory. On iOS it stops
immediately. I've seen a thread on this topic and as I remember there are
ways to keep the app running on iOS.


Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Ben Rubinstein
Sent: Thursday, January 24, 2013 6:23 PM
To: How to use LiveCode
Subject: Persistence on iOS (and Android)

Is there such a thing as suspend/resume on iOS, or just startup and
shutdown?

As far as I can see, when a LC app is suspended and resumed, it's in every
way restarted.  Unless we save our state explicitly in a
file/database/stack, and then reconstruct it on startup.  Is that correct,
or am I missing something?

If that is correct - is the shutdown message a reliable signal that our app
is going to be backgrounded, on which we can save whatever data we need to
restore state?  Or do we have to save at every change in state, just in case
we're about to be suspended?

... and is it the same approach on Android, or do we have suspend/resume
there?

TIA,

Ben

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list