引入touch文件,包括resources和sencha-touch-debug.js文件

index.html文件内容如下:
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="./touch/resources/css/sencha-touch.css" type="text/css">
<script type="text/javascript" src="./touch/sencha-touch-all-debug.js"></script>
</head>
<script type="text/javascript">
Ext.setup({
icon: '../icon.png',
tabletStartupScreen: '../tablet_startup.png',
phoneStartupScreen: '../phone_startup.png',
glossOnIcon: false,
onReady: function() {
Ext.Msg.alert('提示', '第一个SenchaTouch程序!');
}
});
</script>
<body>
</body>
</html>
实现展示
