Page 1 of 1

How do you close or exit an app?

Posted: Tue Mar 06, 2012 6:50 pm
by David K

What is the best way to close the app or have an "exit" button in the app? Like what is the best code or method to attach to an event to actually close the app?

So, in the tester app, you would end up back at your list of apps... or for real in the application, it would close the app on someones phone?

thanks,

David


How do you close or exit an app?

Posted: Tue Mar 06, 2012 7:01 pm
by maxkatz

On Android, you can just click the Back button or the Home button. You can use use PhoneGap's API: https://groups.google.com/forum/?from...


How do you close or exit an app?

Posted: Tue Mar 06, 2012 10:43 pm
by David K

Cool thanks, I guess that was obvious ;-) but, will look into approach through the PhoneGap API...

thanks again

David


How do you close or exit an app?

Posted: Tue Mar 06, 2012 10:47 pm
by David K

btw, is the Tiggzi tester app, using PhoneGap to leverage the phone's menu button and then also using PhoneGap to deliver the "logout" functionality provided within that menu?


How do you close or exit an app?

Posted: Wed Mar 07, 2012 5:16 pm
by maxkatz

I'm not sure I understand the question. To exit from an app launched via Tiggzi Mobile Tester you can simply click the Back button on Android (or Home).


How do you close or exit an app?

Posted: Wed Mar 07, 2012 5:41 pm
by David K

I was asking how you guys built that functionality and using the phone's menu button... So, did you use tiggzi to build the Tiggzi tester app? and if so, did you use PhoneGap to accomplish that I can hit the menu button on my phone, and see the logout option, which then logs me out of the Tiggzi tester app...


How do you close or exit an app?

Posted: Wed Mar 07, 2012 5:42 pm
by maxkatz

It's a native app (not built with PhoneGap).


How do you close or exit an app?

Posted: Wed Mar 07, 2012 6:18 pm
by David K

thanks


How do you close or exit an app?

Posted: Mon Aug 13, 2012 4:50 pm
by Florin Dumitru

What about iphone !? How I close the app in iPhone ? Is some javascript code?


How do you close or exit an app?

Posted: Mon Aug 13, 2012 4:55 pm
by maxkatz