Terry Judd <[email protected]> wrote:

 

>> I'm guessing the OS probably doesn't notify the app that it's suspended.

> Maybe not. I think you can potentially get a list of active processes and 
> determine which one is active. If we could poll that list using an external - 
> if we ever get externals for Android - then we could build our own suspend 
> and resume routine.


I know the RunRev team are awesome but I'm a little perplexed anyone would 
assume that the Android app lifecycle model is completely broken rather than 
there's simply a bug/missing feature in LiveCode.

Android does indeed send apps (actually Activities) messages about pause/resume 
and losing/gaining focus.  I had a quick look in the code and as far as I could 
tell most of the relevant messages get passed from Java through to native code 
and then simply logged.

As I understand it, LiveCode iOS apps only officially support exiting on 
suspend.  What do you think should happen instead on Android?

Mark
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to