David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

How do you close or exit an app?

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How do you close or exit an app?

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...

David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

How do you close or exit an app?

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

thanks again

David

David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

How do you close or exit an app?

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How do you close or exit an app?

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).

David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

How do you close or exit an app?

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...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How do you close or exit an app?

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

David K
Posts: 0
Joined: Wed Feb 09, 2011 5:59 pm

How do you close or exit an app?

thanks

Florin Dumitru
Posts: 0
Joined: Tue Jul 17, 2012 5:28 pm

How do you close or exit an app?

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

Return to “Issues”