gubi
Posts: 0
Joined: Wed Nov 06, 2013 7:22 am

exit apps

hi, i am writing this code onclick event to exit apps. but not working this methods
navigator.app.exitApp();
and
device.exitApp();

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

exit apps

Hi,

Please take a look at here: https://getsatisfaction.com/apperyio/...

gubi
Posts: 0
Joined: Wed Nov 06, 2013 7:22 am

exit apps

Hi, still not working, i m using this code.
$('#startScreen_mobilefooter1 [name="mobilenavbaritem_8"]').die().live({
click: function() {
if (!$(this).attr('disabled')) {
alert('Do you want to exit?');
navigator.app.exitApp();

Code: Select all

             } 
         }, 
     });
Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

exit apps

Hello! Could you clarify what device/version you use to test? Where did you put this code? Did you install app on device?

gubi
Posts: 0
Joined: Wed Nov 06, 2013 7:22 am

exit apps

i installed app on my device, samsung S3 and Huwavi version android 4.0.4 and 4.3 , both devices not exiting app. i wrote code on click event as follows
$('#startScreen_mobilefooter1 [name="mobilenavbaritem_8"]').die().live({
click: function() {
if (!$(this).attr('disabled')) {
alert('Do you want to exit?');
navigator.app.exitApp();

}
},
});

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

exit apps

Please use Libraries version 1.1 instead 1.2 (in App settings-- External resources)

Return to “Issues”