Mobile message when app loses focus - "Home" btn

Discussion about LiveCode Global Jam events and activities

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3900
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Mobile message when app loses focus - "Home" btn

Post by Simon » Sat May 24, 2014 2:58 am

Hi, Ben said that I should repost this bug/enhancement here.
http://quality.runrev.com/show_bug.cgi?id=11965

Pretty simple to explain.
On Android when the liveCode app is running and the user presses home to select a different app there is no message sent to the liveCode app. It keeps running happily in the background.
The problem occurs when your app (say a game) that has sound effects, will keep bleeping and blopping in the background while the newly selected app is running.

iOS has mergNotify (and the plist hack) the same is needed for Android. There are many other cases where this would be useful e.g. saving preference files, executing a "quit" so the app always goes through pre/OpenStack.

OK I'll settle in the short term that the function only allows "quit" without "shutDownRequest" code so as to avoid the "wait" problem.

Thanks,
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply

Return to “LiveCode Global Jam”