Persistence on iOS (and Android)

Monte Goulding monte at sweattechnologies.com
Fri Jan 25 15:40:27 EST 2013


I have a video about how to keep you app from quitting and even keep executing here: http://www.youtube.com/watch?v=8qrnVGJ7lFA

On 25/01/2013, at 10:23 AM, Ben Rubinstein <benr_mc at cogapp.com> wrote:

> 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

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!








More information about the use-livecode mailing list