Is there any way at all to have a mobile app simply resume rather than restart?

Mike Kerner MikeKerner at roadrunner.com
Thu May 25 16:46:04 EDT 2017


Jonathan,
Are we running?  For the next person who is trying to solve the same
problem, it would be good to let them know how it ends.

On Wed, May 24, 2017 at 10:03 PM, Mike Kerner <MikeKerner at roadrunner.com>
wrote:

> I'm pretty sure you can't do it while it's still in the applications
> folder.  You have to command-drag it out of the applications folder, first,
> before you modify it - at least I do, anyway.
>
> On Wed, May 24, 2017 at 5:57 PM, Jonathan Lynch via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> This is great Ralph
>>
>> Thank you
>>
>> I wonder if this can open up other possibilities as well
>>
>> Sent from my iPhone
>>
>> > On May 24, 2017, at 5:17 PM, Ralph DiMola <rdimola at evergreeninfo.net>
>> wrote:
>> >
>> > 1) Go to the Applications folder
>> > 2) Right click on the LC app you are using and select "Show Package
>> > Contents"
>> > 3) Navigate to the "Tools/Runtime/iOS" folder
>> > 4) Right click on all the device/simulator folders one at a time and
>> select
>> > "Get Info"
>> > 5) At the bottom click on the "Read only" to the right of your account
>> name
>> > and select "Read & Write"
>> > 6) Repeat 5 for all device/simulator folders
>> > 7) In each of the device/simulator folders edit the setting.plist file.
>> > 8) To edit... right click the setting.plist file and select "Open With"
>> and
>> > then "Other..." and select "TextEdit.app".
>> > 9) You will get a warning that the file is locked. Choose the Unlock
>> option.
>> >
>> > 10) Either change UIApplicationExitsOnSuspend key value to "False" or
>> like I
>> > do delete the key all together(2 lines)
>> > 11) repeat 8-10 for setting.plist in each of the device/simulator
>> folders.
>> > 12) Fire up LC and make an iOS app.
>> >
>> > 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 Jonathan Lynch via use-livecode
>> > Sent: Wednesday, May 24, 2017 4:37 PM
>> > To: How to use LiveCode
>> > Cc: jonathandlynch at gmail.com
>> > Subject: Re: Is there any way at all to have a mobile app simply resume
>> > rather than restart?
>> >
>> > I don't actually know how to do any of the steps for this - would be
>> easy on
>> > a pc. Researching it now.
>> >
>> > Sent from my iPhone
>> >
>> >> On May 24, 2017, at 4:27 PM, jonathandlynch at gmail.com wrote:
>> >>
>> >> I read that on the forums, but I defer to Ralph on this.
>> >>
>> >> I am playing with the hack now.
>> >>
>> >> I think I could also have a legitimate reason for playing audio -
>> changing
>> > the music as a user gets closer to a marker - but that would be a lot of
>> > trouble to set up right now.
>> >>
>> >> Sent from my iPhone
>> >>
>> >>> On May 24, 2017, at 4:07 PM, Mike Kerner via use-livecode
>> > <use-livecode at lists.runrev.com> wrote:
>> >>>
>> >>> Are you sure?  I'm pretty sure I have at least a couple of apps I
>> >>> built in
>> >>> 8 that still use the hack.
>> >>>
>> >>> On Wed, May 24, 2017 at 3:54 PM, Jonathan Lynch via use-livecode <
>> >>> use-livecode at lists.runrev.com> wrote:
>> >>>
>> >>>> It looks like the plist hack is not available in version 8.
>> >>>>
>> >>>> Choosing background audio works - but that means I need to have a
>> >>>> plausible reason for having background audio or Apple reviewers
>> >>>> might ding the app.
>> >>>>
>> >>>> What a pain - why not just allow it to work the way other apps work?
>> >>>>
>> >>>> Sent from my iPhone
>> >>>>
>> >>>>> On May 24, 2017, at 3:43 PM, jonathandlynch at gmail.com wrote:
>> >>>>>
>> >>>>> Thank you!
>> >>>>>
>> >>>>> Sent from my iPhone
>> >>>>>
>> >>>>>> On May 24, 2017, at 3:34 PM, Mike Kerner via use-livecode <
>> >>>> use-livecode at lists.runrev.com> wrote:
>> >>>>>>
>> >>>>>> If you're referring to ios, look up "plist hack", here.  The only
>> >>>>>> thing
>> >>>> to
>> >>>>>> remember is that for each version of LC, you have to perform the
>> >>>>>> hack, again, until Edinburgh gives us a Standalone Settings option.
>> >>>>>>
>> >>>>>> On Wed, May 24, 2017 at 3:22 PM, Jonathan Lynch via use-livecode <
>> >>>>>> use-livecode at lists.runrev.com> wrote:
>> >>>>>>
>> >>>>>>> Having to restart the app from scratch sucks. I can store the
>> >>>>>>> current state, but my users would have to wait for the map widget
>> >>>>>>> to reload
>> >>>> every
>> >>>>>>> time they came back from another app.
>> >>>>>>>
>> >>>>>>> Sent from my iPhone
>> >>>>>>> _______________________________________________
>> >>>>>>> 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
>> >>>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> --
>> >>>>>> On the first day, God created the heavens and the Earth On the
>> >>>>>> second day, God created the oceans.
>> >>>>>> On the third day, God put the animals on hold for a few hours, and
>> >>>>>> did a little diving.
>> >>>>>> And God said, "This is good."
>> >>>>>> _______________________________________________
>> >>>>>> 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
>> >>>>
>> >>>> _______________________________________________
>> >>>> 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
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> On the first day, God created the heavens and the Earth On the second
>> >>> day, God created the oceans.
>> >>> On the third day, God put the animals on hold for a few hours,  and
>> >>> did a little diving.
>> >>> And God said, "This is good."
>> >>> _______________________________________________
>> >>> 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
>> >
>> > _______________________________________________
>> > 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
>> >
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>    and did a little diving.
> And God said, "This is good."
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list