exits on suspend (was Re: Davos Day 3)

Stephen MacLean smaclean at madmansoft.com
Tue Jan 26 11:30:03 EST 2016


Also check out Monte's mergEXT. You can get notifications from iOS 

Best, 
Steve MacLean

> On Jan 26, 2016, at 11:20 AM, Ben Rubinstein <benr_mc at cogapp.com> wrote:
> 
> Aha - interesting indeed.  Thanks Thierry.
> 
> TBH, until I checked today I didn't know that there was this option to have it NOT exit on suspend, so I've already coded a solution for the app I'm currently playing with, to save state on shutdown, and retrieve on startup, which works for me.  So I'm probably better off leaving it that way for now, but it's good to know some choices exist.
> 
> With your external, would the app get a notification if iOS decided to purge it altogether after it had first been suspended? Or does that no longer happen with current iOS, i.e. it saves the state of all suspended apps?
> 
> best,
> 
> Ben
> 
>> On 26/01/2016 15:24, Thierry Douez wrote:
>> 2016-01-26 11:54 GMT+01:00
>> Ben Rubinstein <benr_mc at cogapp.com>:
>> 
>>> - interestingly, when the stack is not set to exit to suspend, it does not
>>> appear to get any of the messages you might expect (i.e.
>>> suspend/resume[Stack]). AFAICT there's no way with this option for an app to
>>> tell when it has been suspended.  (Without this option set, the app gets
>>> shutdown/closeCard/closeStack; followed when reopened by
>>> startup/openStack/openCard).
>>> 
>>> Ben
>> 
>> Hi Ben.
>> 
>> You could have a look here:
>> 
>> http://forums.livecode.com/phpBB2/viewtopic.php?f=49&t=23570&p=122312#p122123
>> 
>> I did this job almost a year ago.
>> 
>> If you are interested to know more about it, you know how
>> to contact me.
>> 
>> Kind regards,
>> 
>> Thierry
>> 
>> 
>> ------------------------------------------------
>> Thierry Douez - http://sunny-tdz.com
>> sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage
> 
> 
> _______________________________________________
> 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