0

Blackberry phonegap を使用して sencha アプリケーションを実行しています。1. コマンドを使用して sencha アプリケーションのビルドを作成します (sencha app build package) 2. 作成された blackberry phonegap プロジェクトと、この作成された www フォルダーの下 3. sench ビルドからすべてのファイルをコピーし、www フォルダーに貼り付けます 4. プロジェクトを実行した後、blackberry 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>
4

1 に答える 1

0

構成ファイルに適切なアクセス要素があることを確認してください。アプリがリソースを使用できるようにするには、maps.google.com ドメインをホワイトリストに登録する必要があります。PhoneGap Web サイトには、ドメインのホワイトリスト登録に関する詳細情報があります。

于 2012-07-26T20:55:01.610 に答える