Today, we have implemented a file download function. I found some problems by searching for documents on the Internet.
I use Xiaomi 1 s, Android 4.1.2, Cordova 3.5, and the package test runs normally.
First, add the following code to the control layer launch method:
1 // wait for loading phonegap 2 document. addeventlistener ("deviceready", ondeviceready, false); 3 // After the phonegap is loaded, 4 function ondeviceready () {5 // find whether the zgk
With ext JS 5来 using Sencha cmd-------------------------------------------------------------------This guide creates an application by processing the Sencha Generate App command that uses Sencha cmd, which is used to allow an application to endDealing with updating an existing application to experience Sencha CMD is in
by the current sdk, the first is to check the api level folders under the platforms directory under the sdk directory:
Second, we can use "Android SDK Manager" to determine which levels of Android APIs are installed:
Through the above two methods, we can know how many levels of Android systems are currently supported by our system, if you do not meet your needs, you can use the Android SDK Manager to download more content that meets the requirement
Manager" to determine which level of Android API we have installed:With the above two methods we can know that our system now supports the level of the API levels of the Android system, of course, if you do not meet your needs, you can download more to meet the requirements of the Android SDK manager. Here we will choose one, for example we choose API level 19 here.Sixth step: Modify the Packager.json file in the top-level directory of the appThis fi
Download: Http://pan.baidu.com/s/1bnvVII Password: dy8n1th. Development of Mobile OA using HTML5 Technology-introduction of system demonstration and related technology2nd. Development of Mobile OA using HTML5 technology _ related software installation and use Sencha write the first HTML5 program3rd. Development of Mobile OA using HTML5 technology _ Learn Sencha T
Address: http://blog.csdn.net/sushengmiyan/article/details/38295575
Sushengmiyan
--------------------------------------------------------------- Resource link -----------------------------------------------------------------------
Sencha cmd Official Website: http://www.sencha.com/products/extjs/up-and-running/cmd-introduction
Java SE 8 download Official Website: http://www.oracle.com/technetwork/java/javas
additional resources:You can view the application here and run it.The final code can be downloaded here.There are some good things to do with tutorials--controllers and features
build and run the sample application
The first thing to do is to create a Sencha folder on your hard disk. Download Sencha Touch 2.3 and unzip to the newly created
determine the correct position of each sub-component, and the conversion value of CSS needs to be updated manually in the container.
Finally, you need to add event processing to capture the interaction between users and 3D movie usel:
Ext.define('Ext.ux.layout.Carousel', { //... onDragStart : function () { this.container.element.dom.style.webkitTransitionDuration = "0s"; }, onDrag : function (e) { var me = this, isHorizontal = (me.getDirection().toLower
://blog.csdn.net/sushengmiyan/article/details/38295575
Generate your application:
The starting point is to use commands to generate an application and execute the following commands:
Sencha generate app-ext MyApp E: \ senchaworkspace \ MyApp
The following execution result is displayed:
In your hard disk folder, you can see:
This indicates that your program framework is automatically generated.
Note that extjs is a commercial version. If you have
The layout is used to describe the size and location of the components in your application, and in the Sencha touch we provide the following layouts: 1.HBox:
Hbox and horizontal box layout, which we call the horizontal layout, here is a demo code:
Ext.create (' Ext.container ', {
Fullscreen:true,
layout: ' Hbox ',
items: [
{
xtype: ' Panel ',
HTML: ' Message list ',
flex:1
},
Original address: http://www.cnblogs.com/dowinning/archive/2012/02/14/2350303.html
Objective:
It is always difficult to read English documents, and the non-native and professional speeches are easily discouraged and impetuous, which leads to inefficient learning.
Translation is a good way to translate the learning needs into the task of translation, forcing oneself not only to see, to understand, but also to carve, and then clear expression, the results of this study in translation is undoubtedl
that do not need to be scanned but want to be retained in the project. It is necessary to exclude a large number of JS library files contained in the sencha touch SDK. In this step, add the exclusion rule: Touch/
Now, you need to set project dependencies to enable sencha touch 2.1 that has been imported to eclipse. Select Add... and check the project SenchaTouchTL-2. In addition, if you want to pull the
The default icons provided by sencha touch are limited, so there are only a few APIs.
However, to facilitate expansion, sencha touch has already prepared several Icon files and sass code for us to facilitate later CSS customization.
The icon file is under \ resources \ themes \ images \ Default \ pictos. If not, you can place your own PNG images.
How can I customize my own icons?
Because we are a Windows s
Previously said
Sencha phonegap init com. pushsoft. myapp MyApp
The package installation package is named "“myapp.apk". The program name displayed on the mobile phone desktop (text under the icon) is also "MyApp"
If you want to change to another name, modify the MyApp \ config. xml file and set"
MyApp
"Change the name of MyApp in the middle to the desired name. Note: If the xml content contains Chinese characters, it should be changed to UTF-8 enco
First, Sencha generate: Automatically generate projects or code
1, Sencha generate app project name generation Path: Build a new ExtJS project
Note: The above command will download the trial version of the EXT code to your local, if you have downloaded to the local, you need to use the-SDK command to specify the local ext directory to build your application, as f
Said beforeSencha phonegap Init com.pushsoft.myapp MyAppAfter the packaged program install package APK name is "myapp.apk", the program name displayed on the phone desktop (the text below the icon) is also "MyApp"If you want to change to a different name, change the Myapp\config.xml file, and change the top "Note that the assumption of XML content in Chinese, to be changed to UTF-8 encoding, note that the text file encoding, not the top "1.0 ' encoding= ' utf-8 '"?>. It is recommended to change
your app.
Css3 font-face support
Sencha touch no longer uses WebKit masks for icons and now uses css3 font-face. this change significantly improves performance and scaling. this change requires that you convert your icons into a font file and specify the file's URL in your application's CSSFile. For more information on font-face, seefont-face rule. The font file can be true type (TTF), scaled vector graphics (SVG), or embedded openType (EOT). The web
-charts.js can be quoted, I think, I have a slot, no JS file, let me directly use folder not. Relying on some of their own experience in the programmer, guess this may be the source code, need to build a JS? So all kinds of find AH find, nonsense not much to say, groped out the solution. is to build this Sencha charts with Sencha's own tool Sencha cmd.1. First download
no". Ok, let's do the last bit.First download Sencha CMD from Here:linkSave the ' Zip ' file in your default Downloads location. If you don ' t have a ' unzip ' installed in Debian Jessie, you can install ' Ark ' with the Synaptic package Manager. After this said, you unpack the Sencha Cmd ' zip ' file. You can do this in the same Downloads folder. It would unpa
One: Create a projectThe Sencha SDK tool2.0 cannot create an API sencha-touch-2.2.1 project and requires senchacmd instead of the Sencha SDK tool, with the following steps:1, download and install Senchacmd, address:Http://www.sencha.com/products/sencha-cmd/download2, all the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.