Today, I converted an Email web version written with sencha touch into an Android mobile phone version.
Several problems were found.
One Eclipse plug-in is MDS.
MDS applaud 1.2-https://svn.codespot.com/a/eclipselabs.org/mobile-web-development-with-phonegap/tags/r1.2/download
1. Although the plug-in provides integrated options for sencha and phonegap, it still cannot run after the project is created. T
Sencha touch 2 adopts the same class system as ext4.x ),Class System provides inheritance, dependency loading, Mixin, configuration options, etc.Javascript is a good way to implement Object-oriented thinking.
1. Define a class
Ext. define (' Car ' ,{ alias: ['widget. Car '], config: { speed : null }, constructor: function (config) { This . initconfig (config) ;}, run: function () {alert ( This. getspeed () ) ;}});
http://kiahu.com/tutorial/generate-a-skeleton-project-using-eclipse-sencha-cmd-and-sencha-touch/The above is a clear description of how to configure, here are the areas to note:Since we use Sencha cmd, all the Web foreground configurations are focused on Webcontent/app.json, and Webcontent/app.json is managed by boostrap, so every time you update App.json, All ne
General app, the basic layout of the page is the same, the following is a few tab, to choose to achieve the role of page switching. Click on the different buttons, the interface will switch to different content. This can be done easily in Sencha touch.First, we want to make sure we're using TabPanel to build here. As the name implies, the component adds tab to the bottom of the interface and can tab through the page. The base code is as follows:Launch
Note: If your store is using. ashx from the. NET background and debugging with a Web server with Sencha cmd, the following error will be returned when Chrome is debugged.[WARN] [Ext.data.reader.reader#process] Unable to parse the JSON returned by the Server:Error:You ' re trying to decode an invalid JSON String: [WARN] [Ext.data.reader.reader#process] JSON Object Not foundThis problem has been bothering you for a week! I don't know why I can't return
This address: http://blog.csdn.net/sushengmiyan/article/details/43487751This article Sushengmiyan--------------------------------------------------------------------------------------------------------------- ---------------------Sencha ExtJS 5 Adds a struts2 configuration that allows you to interact with the background to get the data displayed after setting up the foreground layout. One problem is that Struts2 's jump action support for URLs is good
The left TabBar and senchatabbar of Sencha Touch 1.x TabPanelFirst look at the effect
Actually, problems may occur.
In sencha touch, tabBar can be displayed normally only when it is set on or below.
If it is set to the left side, the following result is generated by default:
To solve this problem, my first reaction is to use css. But that undoubtedly increases complexity. (I did that too, so it's so troubl
Sencha touch is a JS framework, so the use of this in sencha touch is ultimately the use of this in Js.
However, in sencha touch, the scope parameter provided by many methods can specify the scope of the method running,
This is specified in the method body.
In JS, This is not static. It always points to the object that calls this method.
Therefore, by cha
Background 1:
Sencha is a Web development framework for mobile devices. I personally recommend it. Combined with PhoneGap, it is easy to publish Native programs on various platforms, with good results.
The framework provides a MVC-based development mode with moderate functionality. The operation efficiency is also centered.
In terms of function, sencha> jo
Sencha
1. Download sencha-touch-2-pr3 and phonegap-1.3.0;
2. Create WWW under assets (Java ee ide) and then create a JS folder under WWW, as shown below:
3. Copy the sencha-touch-all.js and phonegap-1.3.0.js to the JS folder;
4. Create libs in the project directory and copy the phonegap-1.3.0.jar to/libs;
5, the phonegap-1.3.0/Android below the XML copy to/RES below;
6. Modify the followingCodeThe mod
This article has been added to Sencha Touch 2 QuickStart Series index:http://blog.csdn.net/ardy_c/article/details/7544470
Reprint please indicate the source: http://blog.csdn.net/ardy_c/article/details/7497330
In applications, there are many times when you need to interact with users. forms (Forms) this thing gives us a good interface. I'm sure you are familiar with the traditional HTML form. The form in Sencha
A lot of people have already discovered that by ordering "gem install compass" To install compass, the following exception will be reported when compiling scss using "Compass compile":"File to import not found or unreadable:blueprint/typography"Google a bit, said the new compass has not included compass-bluprint.So I tried to execute the command "gem install Compass-blueprint" and manually install Compass-blueprint myself. Although it was loaded, the "Compass Compile" was compiled scss with an e
After using components in 1.Sencha through layout: ' VBox ' specifies that the page layout is a vertical box layout and the height of the component is high: ' percent ' specifies the background color of the component through style: ' Background: #F6F6F1 ', The background color of the component cannot be displayed, which means that the style configuration option is invalidated. The workaround is to set the height to the shaping value.2. When an interfa
This address: http://blog.csdn.net/sushengmiyan/article/details/42016107This article Sushengmiyan--------------------------------------------------------------------------------------------------------------- ---------------------For convenience, use Sencha cmd to create a project, use the App build command build project, and start the service using the Web Start command.OK, now change the bit of code under Main.js and add the following to the panel:,
This address: http://blog.csdn.net/sushengmiyan/article/details/42016107This article Sushengmiyan--------------------------------------------------------------------------------------------------------------- ---------------------For convenience, use Sencha cmd to create a project, use the App build command build project, and start the service using the Web Start command.OK, now change the bit of code under Main.js and add the following to the panel:,
The query function executes Ext. componentquery. query and returns a component queue. Therefore, there is only one component entry whose ID is backbtn. The first item returned to the array is the toolbar button.
If you need to find more information about the component query, you can read and query Zho here to see how the sencha touch documentation explains.
Now that we have an instance of the button, we can append a processor to trigger it when th
Introduction of touch files, including resources and sencha-touch-debug.js filesThe contents of the index.html file are as follows:
span class= "tag" > rel = "stylesheet" href = type = "text/css" >
Implementation ShowcaseFrom for notes (Wiz)Sencha Touch Environment Setup
For Jasmine, I will not introduce it more. Can go to the official website to see http://pivotal.github.com/jasmine/
Although sencha touch (hereinafter referred to as St) has some bugs, it does not affect the use of the project, because we only use the features and UI parts provided by sencha touch. In my personal opinion, Mixin is better. Previously, openlaszlo also supported Mixin, so it is almost the same
[ExtJS5 Study Notes] sencha ext js 5.1.0 is officially released in section 28th, and extjs5sencha
Address: http://blog.csdn.net/sushengmiyan/article/details/41242993
Author: sushengmiyan
Certificate ------------------------------------------------------------------------------------------------------------------------------------This new version is published on the official blog. Please stamp the following in an English article
Http://www.sencha
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.