Forcing an android app to quit when the 'home' button is clicked?

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Jan 19 01:46:10 CET 2016


Terry,

Reading the docs, I'd say the following should be possible:

on backKey
   quit
end backKey

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 1/18/2016 om 03:30 schreef Terry Judd:
> On iOS the fact that a LC app routinely quits when the home button is clicked can be a pain but in the case of the app I’m currently developing I actually want this to occur. Anyway, I’m covered on iOS but how do I make the app quit when the user leaves it on an android device, or is this not possible?
>
> Terry…
>
> Terry Judd  | Senior Lecturer in Medical Education
> Department of Medical Education<http://medicine.unimelb.edu.au/medical-education>
> The University of Melbourne<http://www.unimelb.edu.au>
> M: 0435 961 594  |  E: terry.judd at unimelb.edu.au<mailto:tsj at unimelb.edu.au>
> Publications<https://scholar.google.com.au/citations?user=XC5s6wwAAAAJ&hl=en>
>



More information about the use-livecode mailing list