前提:我的电脑配置是win7 64位,在我写这篇日志的时候,sencha touch的版本是touch-2.2.1

 

1:在这个页面填写邮箱地址进行下载touch压缩包:http://www.sencha.com/products/touch/download/

2:在电脑上需要安装jdk1.6以上版本,

3:在电脑上需要安装http服务器,我本身安装了一个Apache 服务器

 

上面的这些都准备好以后,就可以开始sencha touch的学习了!

 

1:在Apache服务器的htdocs下面新建一个touch,然后再建立一个test目录
 

Sencha touch学习笔记二:自定义目录方式的创建第一个应用
 

 

 

 

 


 2:拷贝touch2.2.1类库中的src目录,resources目录,还有sencha-touch.css,sencha-touch-all.js,sencha-touch-debug.js这些目录以及文件copy到test目录中

 

 

 

3:写自己的app.js,对应的建立/app/view/目录,以及MyPanel.js

 

4:写一个index.html

 

5:好了,大功告成,在浏览器中访问:http://127.0.0.1/touch/test/index.html

 

 
Sencha touch学习笔记二:自定义目录方式的创建第一个应用
 

详细见附件:
 

相关文章:

  • 2022-02-03
  • 2021-08-12
  • 2021-07-17
  • 2021-11-19
  • 2021-06-10
  • 2023-04-03
  • 2021-08-15
  • 2021-10-22
猜你喜欢
  • 2021-11-08
  • 2022-12-23
  • 2021-08-13
  • 2021-12-16
  • 2022-12-23
  • 2021-08-14
  • 2021-06-04
相关资源
相似解决方案