Re: Persistence on iOS (and Android)

2013-01-26 Thread Ben Rubinstein
On 26/01/2013 19:55, J. Landman Gay wrote: On 1/26/13 1:22 PM, Ben Rubinstein wrote: Is there consensus on the best way to do this - text file, database, or do everything in a dynamic stack that's saved (back to the old splash-screen app approach)? Depends on your stack and what you need to d

Re: Persistence on iOS (and Android)

2013-01-26 Thread J. Landman Gay
On 1/26/13 1:22 PM, Ben Rubinstein wrote: Is there consensus on the best way to do this - text file, database, or do everything in a dynamic stack that's saved (back to the old splash-screen app approach)? Depends on your stack and what you need to do, but any of those would work. There's no

Re: Persistence on iOS (and Android)

2013-01-26 Thread Colin Holgate
There is a little bit in one chapter that goes into saving user data externally. As for completely restoring your app, I would hope that one day you don't have to do a hack to prevent the exits on suspend! On Jan 26, 2013, at 2:22 PM, Ben Rubinstein wrote: > >PS - Colin, this might make a use

Re: Persistence on iOS (and Android)

2013-01-26 Thread Ben Rubinstein
Thanks Jacque (and thanks Monte) - I don't need to do anything in the background, I just want to save state so that the app appears to have been suspended rather than shutdown. Thanks for clarifying what messages to use and that they are reliable. Is there consensus on the best way to do this

Re: Persistence on iOS (and Android)

2013-01-25 Thread Monte Goulding
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 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 a

Re: Persistence on iOS (and Android)

2013-01-25 Thread J. Landman Gay
On 1/24/13 5:23 PM, Ben Rubinstein 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

RE: Persistence on iOS (and Android)

2013-01-24 Thread Ralph DiMola
Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@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

Persistence on iOS (and Android)

2013-01-24 Thread Ben Rubinstein
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 mi