0
我用黑莓手機運行sencha應用程序。 1.使用命令構建sencha應用程序(sencha應用程序構建包) 2.創建黑莓phonegap項目並在此創建的www文件夾下 3.將所有文件從sench構建並粘貼到www文件夾中 4.運行黑莓phonegap項目 運行項目後,我得到白色的屏幕。可以請任何人告訴我我做錯了什麼。運行sencha + phonegap +黑莓
我的index.html代碼:
<!DOCTYPE HTML><html manifest="" lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="format-detection" content="telephone=no">
<title>RetailBanking</title>
<script type="text/javascript">
(function(h){
function f(c, d){
document.write('<meta name="' + c + '" content="' + d + '">')
}
if ("undefined" === typeof g)
var g = h.Ext = {};
g.blink = function(c){
var d = c.js || [], c = c.css || [], b, e, a;
f("viewport", "width=device-width, initial-scale=1.0, maximum-
scale=1.0, minimum-scale=1.0, user-scalable=no");
f("apple-mobile-web-app-capable", "yes");
f("apple-touch-fullscreen", "yes");
for (b = 0, e = c.length; b < e; b++) {
a = c[b], "string" != typeof a && (a = a.path), document.write('<link
rel="stylesheet" href="' + a + '">');
}
for (b = 0, e = d.length; b <e; b++) {
a = d[b], "string" != typeof a && (a = a.path), document.write('<script
src="' + a + '"><\/script>')
}
}
})(this);
;
Ext.blink({
"id": "0e9adf70-bf82-11e1-97b4-2d0be393dffb",
"js": [{
"path": "cordova-1.9.0.js",
"type": "js"
}, {
"path": "sdk/sencha-touch.js",
"type": "js"
}, {
"path": "sdk/sencha-touch-all.js",
"type": "js"
}, {
"path": "Messages.js",
"type": "js"
}, {
"path": "constants.js",
"type": "js"
}, {
"path": "math-uuid.js",
"type": "js"
}, {
"path": "app.js",
"update": "delta",
"type": "js"
}],
"css": [{
"path": "resources/css/app.css",
"update": "delta",
"type": "css"
}]
})
</script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true">
</script>
</head>
<body>
</body>
</html>
請回應。我需要幫助。 – user1489812 2012-07-25 08:45:01