Wow, I thought the background audio setting had been disabled. cool! On Fri, Sep 30, 2016 at 11:10 AM, Ralph DiMola <rdimo...@evergreeninfo.net> wrote:
> Selecting "background audio" in the iOS settings will keep the app alive > when focus is lost. This will change the "suspend" plist setting that we > used to have to hack every time. > > Also "disable ATS" will allow the lc browser to access non-https web pages. > > > Ralph DiMola > IT Director > Evergreen Information Services > > > > <div>-------- Original message --------</div><div>From: Mike Kerner < > mikeker...@roadrunner.com> </div><div>Date:09/30/2016 10:05 (GMT-05:00) > </div><div>To: How to use LiveCode <use-livecode@lists.runrev.com> > </div><div>Subject: Re: How to make my app keep running in the bg > </div><div> > </div>This is one of those things that is more involved. You can read up > on it > by searching for those terms on the list, but the abreviated version is > copy livecode out of your applications folder > right-click and view package contents > drill down to the engine for the ios devices you are targeting (see the > discusson on the list for more) > change the parameter > close it all back up > copy LC back into the application folder > > You have to do this for each version of LC that you download. > > On Fri, Sep 30, 2016 at 9:13 AM, Earthednet-wp <proth...@earthednet.org> > wrote: > > > Mike, > > I haven't tried that. I fire up my iOS dev projects rarely enough that my > > skills with the intricacies are pretty rudimentary. For now, just keeping > > the app from going to sleep is good enough. > > > > Thanks again for your help. The step by step procedure, with your > comments > > on several "gotchas" was extremely helpful. > > Bill > > > > William Prothero > > http://es.earthednet.org > > > > > On Sep 30, 2016, at 5:19 AM, Mike Kerner <mikeker...@roadrunner.com> > > wrote: > > > > > > have you tried tweaking the settings.plist, specifically replacing > > > ${APPLICATION_EXITS_ON_SUSPEND} with <false/>? > > > > > > On Thu, Sep 29, 2016 at 8:55 PM, William Prothero < > > proth...@earthednet.org> > > > wrote: > > > > > >> Scott: > > >> I think I’ve got it. > > >> > > >> mobileLockIdleTimer > > >> > > >> Best, > > >> Bill > > >> > > >>>> On Sep 29, 2016, at 5:46 PM, William Prothero < > > proth...@earthednet.org> > > >>> wrote: > > >>> > > >>> Scott: > > >>> I use the native sound player to play the sounds. Actually, what I > > >> really want to do is to keep the app in the foreground. I play the > audio > > >> through my wifi and if it goes to background, the wifi gets > disconnected > > >> and it’s a real pain. A previous version of this app stayed in the > > >> foreground. So, perhaps there is some kind of property that will keep > an > > >> app in the foreground? > > >>> Bill > > >>>> On Sep 29, 2016, at 5:41 PM, Scott Rossi <sc...@tactilemedia.com> > > >> wrote: > > >>>> > > >>>> AFAIK, you can't do this on iOS for just a timer. I was told from > > >> someone > > >>>> high up in Apple that the phone will automatically end or reset a > > >>>> backgrounded app after roughly 10 minutes or so (at most). Audio > is a > > >>>> different story, because Apple allows music-playing apps to run when > > >>>> backgrounded, but I imagine you'd need to make use of Apple's native > > >> music > > >>>> player for this to work. I'm not sure if the native LC player > > qualifies > > >>>> -- have you already tried backgrounding an LC app with the native > > player > > >>>> running? > > >>>> > > >>>> Don't expect to fool Apple by enabling a non-music-playing app to > keep > > >>>> itself active by playing sound. I was told this story: Apparently > > >> several > > >>>> versions back, Facebook came out with a version of their mobile app > > >> which > > >>>> included a player that played silence when backgrounded, as a means > to > > >>>> keep itself active. Apple discovered the behavior and slapped > > Facebook > > >> on > > >>>> the wrist, after which Facebook claimed it was a bug that was > > introduced > > >>>> by mistake. > > >>>> > > >>>> It's possible the Apple has changed it policy on this over the last > > year > > >>>> or so, but I doubt it. Google may be more forgiving with Android. > > >>>> > > >>>> Regards, > > >>>> > > >>>> Scott Rossi > > >>>> Creative Director > > >>>> Tactile Media, UX/UI Design > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> On 9/29/16, 5:16 PM, "use-livecode on behalf of William Prothero" > > >>>> <use-livecode-boun...@lists.runrev.com on behalf of > > >>>> proth...@earthednet.org> wrote: > > >>>> > > >>>>> Folks: > > >>>>> I have an app that plays sounds and I donąt want the iPhone to stop > > >>>>> playing them when the phone hibernates. I also have a timer that > runs > > >> and > > >>>>> I donąt want it to stop after a minute or so. > > >>>>> > > >>>>> So, how can I keep an app up front and running without constantly > > >>>>> touching the screen? > > >>>>> > > >>>>> I know there is a way to do this, but how? > > >>>>> Thanks, > > >>>>> Bill > > >>>>> > > >>>>> > > >>>>> > > >>>>> William Prothero, Ph.D. > > >>>>> University of California, Santa Barbara, Emeritus > > >>>>> proth...@earthednet.org > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> _______________________________________________ > > >>>>> use-livecode mailing list > > >>>>> use-livecode@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@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@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@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode