Page 1 of 1

Android and Message when removing the app from memory

Posted: Wed Oct 01, 2014 12:45 pm
by p.schelvis
Hello,

I wonder which message is send in LC when you press the multitasking button on an android device and swipe the app to the left. Android will remove the app from memory. I tried Closestack, Shutdown and some more. Not one of them seems to work. Maybe I did something wrong. Does anybody knows and maybe show me the code.

Thanx,
P.Schelvis

Re: Android and Message when removing the app from memory

Posted: Wed Oct 01, 2014 6:02 pm
by Simon
Hi P.Schelvis,
Android will remove the app from memory
Are you sure?
That would be odd as
...the multitasking button..
actually means the opposite :)

Simple test, make a stack with 2 cards and buttons to navigate between them. On the Android start the app switch to card 2 and press this "multitasking" button. Now immediately start your app again (no running video's or other in between). Which card is showing?

Simon

Re: Android and Message when removing the app from memory

Posted: Wed Oct 01, 2014 7:56 pm
by p.schelvis
Sorry, i saw that the name is "app switcher button" (the double rectangles) and not multitasking button. Doesn't matter, still want to know what mesage is send by LC wenn I swipe the app tot the left or to the right (remove app from memory).

Re: Android and Message when removing the app from memory

Posted: Wed Oct 01, 2014 8:10 pm
by Simon
Hi p.schelvis,
If the app is actually shutting down then
"shutdownRequest" and "shutdown" messages.

Hey... that is kind'a English like :)

Simon

Re: Android and Message when removing the app from memory

Posted: Wed Oct 01, 2014 10:19 pm
by p.schelvis
I have done a test with "shutdownRequest" and "shutdown". When swiping the app to remove, there was no "shutdownRequest" and "shutdown"message.

I found out that there is a "Closestack" message when you use the return-button on the home screen of the android device. But NO message when swiping! Still need some help.

P. Schelvis