mobile equivelent for suspend & resume

J. Landman Gay jacque at hyperactivesw.com
Mon Mar 26 13:48:34 EDT 2018


The last I remember, they tried to implement those but it proved to be 
extraordinarily complex. Now that both mobile platforms run apps in the 
background though, it's Important to know when the app comes to the front.

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 26, 2018 12:15:07 PM Richard Gaskin via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> Peter Brett submitted a request for that in Feb 2016:
>
> https://quality.livecode.com/show_bug.cgi?id=16829
>
> --
>  Richard Gaskin
>  Fourth World Systems
>
>
> J. Landman Gay wrote:
> > Unfortunately there is no mobile equivalent to suspend and resume. I've
> > needed those many times for more than just tracking purposes and I haven't
> > found a workaround.
> >
> > --
> > Jacqueline Landman Gay | jacque at hyperactivesw.com
> > HyperActive Software | http://www.hyperactivesw.com
> > On March 26, 2018 9:43:44 AM Andrew Bell via use-livecode
> > <use-livecode at lists.runrev.com> wrote:
> >
>> > I have a mobile app that I'm looking to implement "Enable Background
>> > Execution" in now that the plist hack is no longer required. Is there
>> > a simple way to track how long the app has been in the background?
>> > Basically, I'd like to initialize the full stack if the user has been
>> > gone for a certain amount of time to make sure everything is up-to-date.
>> >
>> > I found "suspend" and "suspendStack" (with their "resume" and
>> > "resumeStack" counterparts) but they aren't supported in mobile. They
>> > do exactly what I'm trying to do in the dev desktop environment but do
>> > nothing on mobile.
>> >
>> > My app already writes some other data to a small preference file on
>> > the device when the user does a variety of activities, like moving to
>> > a previous card with the backKey on Android, so I do have a timestamp
>> > for recent activity. I just don't know how to automatically check when
>> > a user returns to determine how long they've been gone.
>> >
>> > --Andrew Bell
>
>
>
> _______________________________________________
> 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