0

senchatouchを使用してブラックベリーウェブワークスアプリケーションを開発しています。そして、ビルドを行った後、白い画面のみを取得します。

これが私のコードです:

 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"    
   "http://www.w3.org/TR/html4/loose.dtd">
 <html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <meta name="viewport" id="viewport" content="height=device-height,width=device-
    width,user-scalable=no" />
   <title>Insert title here</title>
  <script type="text/javascript" src="www/sencha-touch-all.js"></script>
    <script type="text/javascript" src="www/sencha-touch.js"></script>
 <script type="text/javascript">
 new Ext.Application({ 
launch: function() { 
    new Ext.Panel({ 
        fullscreen: true, 
        dockedItems: [{xtype:'toolbar', title:'My First App'}], 
        layout: 'fit', 
        styleHtmlContent: true, 
        html: '<h2>Hello World!</h2>I did it!' 
     }); 
 } 
  </script>
  </head>
 <body>
 <p>Hello World</p>
</body>
</html>

誰でもこれを行うことができますか?私を助けてください。

4

1 に答える 1

1

それらの1つを含めてください:)sencha-touch-all.jsはsencha-touch.jsのデバッグバージョンです

そして2番目はあなたがcssファイルを含めるのを逃したように見えます。

乾杯、オレグ

于 2012-07-31T12:47:56.643 に答える