0
我正在使用sencha touch开发黑莓webworks应用程序。并且只有在构建成白色屏幕之后。在黑莓模拟器上使用sencha运行黑莓时获得白色屏幕Touch2
这里是我的代码:
<!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>
任何人都可以这样做呢?请帮帮我。
其他办法,我也试过是:我创建了一个应用程序的煎茶其做工精细的煎茶项目。我使用命令(sencha应用程序构建包)打包它。之后,我把所有的包文件放在黑莓webworks应用程序的www文件夹中。当我运行这个使用涟漪模拟器我只有白色的屏幕。 – user1489812 2012-07-31 12:39:44