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