sencha-touch

Latency issue for application on HTC ONE developed using Sencha Touch 2.1(Android 4.0.x)

一世执手 提交于 2019-12-23 16:40:47
问题 I have developed an application using Sencha Touch 2.1 Framework. The application being installed on the HTC ONE device running on Android 4.0.x version. It is observe that app's response time is very slow while 1. Traversing from one screen to another screen 2. While fetching data from server 3. After a tap on any icon, loading mask takes time to get displayed 4. Due to screen transition is taking time, the header of previous screen gets displayed on current screen momentarily and then only

Where do i get Cordova 3.4.js?

自作多情 提交于 2019-12-23 15:42:35
问题 I am working with Sencha Touch. I need the latest Cordova 3.4.js (That Javascript file only ) to build my project. The only resource known for me is Phonegap thing. But the latest available Phonegap archive version is 2.9.1. But I need Ver 3.4.0 and Included Cordova 3.4.0.js for android & iOS. Can anyone help me on this ?? 回答1: You can get the .zip file here: https://github.com/apache/cordova-js/releases/tag/3.4.0 Just extract the JavaScript file. 回答2: For cordova 3.4/Phonegap 3.4 you should

Sencha Touch: Disable scrolling for a Panel, List, or DataView?

吃可爱长大的小学妹 提交于 2019-12-23 13:08:32
问题 I see that panels have the option to set scroll: to horizontal or vertical, but is there any way to do something like: scroll: 'false' ? I've tried such without luck. I have a DataView nested in a Panel. I can set the scroll direction of each independently, but I want the DataView not to scroll at all. [Any tips will earn answer points and a digital high five. Heck, I'll even throw in a bonus high SIX!] 回答1: Okay, turns out by fudging around a bit (as I've learned to do with poorly documented

How to send headers while using jsonp proxy?

落花浮王杯 提交于 2019-12-23 12:36:48
问题 I am trying to get data from web services from my app to load a list and to load more on scroll using pull refresh & ListPaging plugins. I tried this with flickr API and it works fine, but problem comes when I try to access our own services because they expect "Authorization" header with Base64 encoded data and "Accept" header to decide format of response. This is how I have defined my store: Ext.define('myshop.store.CatalogListStore',{ extend:'Ext.data.Store', requires: [ 'myshop.model

Getting a refernce to an auto-instantiated Sencha Touch 2 view

梦想与她 提交于 2019-12-23 06:00:18
问题 I'd like to get a reference to my view from my Sencha Touch 2 controller, which looks like this (CoffeeScript): Ext.define 'MyApp.view.Books', extend: 'Ext.Panel' id: 'books' config: html: 'Hello, Books!' Ext.define 'MyApp.controller.Books', extend: 'Ext.app.Controller' views: [ 'Books' ] init: -> @control '#books': render: -> console.log 'This is never called. Why?' show: -> console.log 'This is called twice.' # @getBooksView() is not a view instance, it is a class. Why? console.log 'View

Getting a refernce to an auto-instantiated Sencha Touch 2 view

坚强是说给别人听的谎言 提交于 2019-12-23 05:58:03
问题 I'd like to get a reference to my view from my Sencha Touch 2 controller, which looks like this (CoffeeScript): Ext.define 'MyApp.view.Books', extend: 'Ext.Panel' id: 'books' config: html: 'Hello, Books!' Ext.define 'MyApp.controller.Books', extend: 'Ext.app.Controller' views: [ 'Books' ] init: -> @control '#books': render: -> console.log 'This is never called. Why?' show: -> console.log 'This is called twice.' # @getBooksView() is not a view instance, it is a class. Why? console.log 'View

Build a simple app using Sencha, not working on Android 4

◇◆丶佛笑我妖孽 提交于 2019-12-23 05:08:30
问题 I would like someone to help me verify what I've done to build a simple mobile app using Sencha Touch and Sencha Cmd. I've been trying to build an Android app for awhile and I cannot get it run on Android 4.0 emulator or phone, and no luck at all. This is what I've done. Step 1: Create a new application Sencha generate app MyTouch22 ../projects/MyTouch22 This step automatically creates all the necessary folders and files to start your app. It also generated the default Main.js (the main view)

Sencha Touch - menu and edge swipes errors

我是研究僧i 提交于 2019-12-23 04:55:14
问题 I'm wondering if anyone has found a fix for the issue, when the menu is initialized but has not been shown yet and the user makes edge swipes what leads to ST throwing errors: Uncaught TypeError: Cannot read property 'on' of undefined. Please see here what I mean (open console and make edge swipes): https://fiddle.sencha.com/#fiddle/3vq More about that: http://www.sencha.com/forum/showthread.php?281225 回答1: Hot fix for Sencha Touch 2.4.1 side menu slide issue TOUCH-5328: replace in touch\src

How to use WebSql database with sencha touch Application

大憨熊 提交于 2019-12-23 04:48:09
问题 I am working with sencha touch application to handle small database I have used local storage. But, now I want to handle larger amount of database with SQL queries. Can anyone suggest how to use a database system like Websql or any other database system with sencha touch? Any help will be appreciated. 回答1: Try using Ext.data.proxy.Sql Refer these links http://docs.sencha.com/touch/2.1.1/#!/api/Ext.data.proxy.Sql http://senchatouchdev.com/wordpress/2013/04/19/sencha-touch-clarifying-websql

How to use WebSql database with sencha touch Application

安稳与你 提交于 2019-12-23 04:48:00
问题 I am working with sencha touch application to handle small database I have used local storage. But, now I want to handle larger amount of database with SQL queries. Can anyone suggest how to use a database system like Websql or any other database system with sencha touch? Any help will be appreciated. 回答1: Try using Ext.data.proxy.Sql Refer these links http://docs.sencha.com/touch/2.1.1/#!/api/Ext.data.proxy.Sql http://senchatouchdev.com/wordpress/2013/04/19/sencha-touch-clarifying-websql