After the development preparation has been done in my previous sections, you can then use Sencha touch to create the most basic project.
First of all, we need to download SENCHA-TOUCH-2.3.1-GPL compressed package, unzip it, here we unzip its compressed package into E:\androidTool, the directory structure is as follows:
(1) Apply the cmd command into the directory
Enter this directory to execute the Sencha generate app MyTest. /mytest
At this point, a Sencha touch project named MyTest is generated under the Sencha Touch directory, as shown in the following structure:
(2) The generated project can be opened with the development tools, we here take Webstorm Card development tool as an example, open can be based on their own needs to develop.
(3) After development, use the cmd command to compile the developed Sencha Touch Project and compile with the Sencha app build native command.
(4) After compiling, the files under the Build/native folder can be copied to the WWW folder of the PhoneGap project described in the previous section, and then compiled with the Cordova build Android command for the PhoneGap project.
(5) The next step is to use Eclipse to package the PhoneGap project, which is detailed in the previous section.
Sencha Touch Create Project