is it possible to show a message before exiting

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
keram
Posts: 340
Joined: Fri Nov 08, 2013 4:22 am

is it possible to show a message before exiting

Post by keram » Tue Jul 29, 2014 3:59 am

Hi,

I have an app (probably coded in java) that shows this message for 2-3 seconds when the first page is visible and you tap on the back button:
press again to exit_resize.png
press again to exit_resize.png (25.89 KiB) Viewed 2138 times
Is it possible to do something similar in LC - a pop-up message before exiting the app?

keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: is it possible to show a message before exiting

Post by Simon » Tue Jul 29, 2014 4:40 am

Hi Keram,
Sure it is, check out backKey and recentNames.
Maybe not recentNames because you'll know when you are on the first card.

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

Post Reply