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
Android and Message when removing the app from memory
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 17
- Joined: Wed Dec 04, 2013 1:52 pm
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Android and Message when removing the app from memory
Hi P.Schelvis,
That would be odd as
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
Are you sure?Android will remove the app from memory
That would be odd as
actually means the opposite...the multitasking button..
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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 17
- Joined: Wed Dec 04, 2013 1:52 pm
Re: Android and Message when removing the app from memory
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).
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Android and Message when removing the app from memory
Hi p.schelvis,
If the app is actually shutting down then
"shutdownRequest" and "shutdown" messages.
Hey... that is kind'a English like
Simon
If the app is actually shutting down then
"shutdownRequest" and "shutdown" messages.
Hey... that is kind'a English like
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 17
- Joined: Wed Dec 04, 2013 1:52 pm
Re: Android and Message when removing the app from memory
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
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