80,351
社区成员
发帖
与我相关
我的任务
分享
function init() {
/*initialization of app*/
//app.container = "layoutObj";
dhx.ui.fullScreen();
dhx.ui(app);
document.addEventListener("deviceready", onDeviceReady, true);
delete init;
}
function onDeviceReady() {
$$('loginForm').setValues({
serverURL: window.localStorage.getItem("serverURL"),
username: window.localStorage.getItem("username"),
password: window.localStorage.getItem("password")
});
setTimeout(function() {
cordova.exec(null, null, "SplashScreen", "hide", []);
}, 1500);