phonegap 退出程序的方法!
http://www.oschina.net/code/snippet_52833_6592
// java 代码
navigator.app.exitApp()
// 和这个有啥区别
PhoneGap.exec(null, null, "App", "exitApp", []);
phonegap 退出程序的方法!
http://www.oschina.net/code/snippet_52833_6592
// java 代码
navigator.app.exitApp()
// 和这个有啥区别
PhoneGap.exec(null, null, "App", "exitApp", []);
转载于:https://my.oschina.net/chier/blog/49106