zoukankan      html  css  js  c++  java
  • Sencha Touch 安装

    Setup Sencha Touch

    Content

    Setup Sencha Touch

    1 java environment

    2 install ruby (rubyinstaller-1.9.3-p0.exe will be better)

    3 install sencha (SenchaCmd-4.0.0.203-windows.exe)

    4 test your sencha

     

    5 general a project

    5.1 go to touch directory

    5.2 general project

     

    6 open it in browser

    6.1 Use ‘—disable-web-security’ model to open chrome

     

      6.2 put your project in IIS is fine too

    7  sencha api :

    http://rib-cn-dev403:5557/#

    Ps: if you are not using ruby.9.3, there will be some error happen when you  open the project

    You can copy the code below and replace the code in index.html

    Before:

    <script id="microloader" type="text/javascript" src=".sencha/app/microloader/development.js"></script>

     

    After:

    <link rel="stylesheet" href="touch/resources/css/cupertino.css" type="text/css" />
    <script id="microloader" type="text/javascript" src="touch/sencha-touch-all-debug.js"></script>
       <script id="microloader" type="text/javascript" src="app.js"></script>

    中文api:http://extjs-doc-cn.github.io/ext4api/

  • 相关阅读:
    Protobuf通信协议
    python发送消息到activeMQ后java接收到BinaryMessage的坑
    golang time.Duration() 问题
    golang操作redis
    golang之网络编程
    golang之反射
    golang之goroutine和channel
    golang之单元测试
    golang之文件操作
    XmlHelper 工具类
  • 原文地址:https://www.cnblogs.com/lihaozhou/p/4529321.html
Copyright © 2011-2022 走看看