Questions tagged [sencha-touch-2]

JavaScript framework for mobile devices, UI interface, DataAccess and encapsulation.

Sencha Touch 2 is the second version of Sencha Touch, developed by Sencha.

It is a Javascript framework based on well-known Ext JS library and used to create cross-platform mobile devices webapps (Android 2.3+, Blackberry, Windows Phone 8 and iOS 4+).

With this new version, it is possible to package applications as native.

Official documentation and description can be found at: http://docs.sencha.com/touch/

3849 questions
6
votes
0 answers

Accelerate Cordova-packaged application load time

I am building a native mobile application using Ext JS 6.2 modern toolkit + Cordova native packaging. I also use CrossWalk Chromium plugin instead of native webview. The application requires about 10 seconds to load (i.e. to see its interface after…
AhmadWabbi
  • 2,253
  • 1
  • 20
  • 35
6
votes
1 answer

Extjs 6 - modern toolkit ui-mixins build error

I have an Extjs 6 workspace with two packages (one for classic and one for modern) and a sample app in it. I have no problem styling the classic package components with the corresponding ui-mixins, ex: @include extjs-panel-ui();. However, when I…
6
votes
4 answers

How can I get the active tab index in tab panel?

How can I get the active or selected tab index in tab panel in sencha touch? I am using tabpanel in my application.
user386430
  • 4,837
  • 13
  • 41
  • 45
6
votes
1 answer

XTemplate definition on items property of a ListItem

I'm using Sencha 2.3.0 and I want to have a XTemplate side-to-side to a component (textfield) on a ListItem. The code above works fine for DataView/DataItem, but I want to use the grouped property that is only available on List/ListItem. The nested…
kerosene
  • 930
  • 14
  • 31
6
votes
4 answers

Using mouse wheel to scroll in Sencha Touch application on desktop

While looking for how to enable scrolling with the mouse wheel in Sencha Touch, I came across this answer. However, I am relatively new to Sencha Touch and the codebase I was given to maintain that uses it. The answer says to put it in the…
filpa
  • 3,651
  • 8
  • 52
  • 91
6
votes
3 answers

Sencha Touch and Leaflet.js API

I would like to use Leaflet.js API with Sencha Touch 2.3.1 and leaflet.js gives this error: Uncaught Error: Map container not found. These links are included in index.html
terreb
  • 1,417
  • 2
  • 23
  • 40
6
votes
2 answers

Improve performance ST2.3 app with Sencha Architect

I am trying to improve the performance of my Sencha Touch 2.3 application. I did build the application using Sencha Architect 3. Now, I read a few posts about improving app performance by not including all default sencha css classes (see…
Bram
  • 4,533
  • 6
  • 29
  • 41
6
votes
3 answers

how to call controller function from outside controller function like global function in sencha touch

How can I call function which is inside controller from out side controller function like might be phone gap call back function Here is the function defined out side the controller function onDeviceReady() { //do ALL your localstorage stuff…
kondal
  • 358
  • 1
  • 6
  • 22
6
votes
2 answers

How can i do a process when some clicks on Android menu button - Using a sencha touch2 app

I have a sencha touch 2 based mobile app. I want to show a menu when users clicks on the menu button of android device. How can I do that.
Vikash Agrawal
  • 101
  • 1
  • 9
6
votes
2 answers

PhoneGap / Sencha Touch: WebView render issue on hide SoftKeyboard

Software I'm using Sencha Touch (2.1.1) and PhoneGap (2.5.0) to develop an application for Android and iOS. My problem There are some views with input fields (Ext.field.Text and Ext.field.Email) at the bottom of a container. When you tap an input…
ottel142
  • 2,016
  • 1
  • 26
  • 37
6
votes
3 answers

Sencha Cmd Unable to locate 'app.dir' config property from sencha.cfg

I have built a sencha touch app using Sencha touch 2.1.0 and now I am trying to build it using instructions provided here : http://cclerville.blogspot.in/2013/01/sencha-touch-21-phonegap-220-android_3.html but the build is failing with this error…
ThinkFloyd
  • 4,981
  • 6
  • 36
  • 56
6
votes
3 answers

HTTP OPTIONS Pre-flight request Load Cancelled with pending Status in Chrome

I am using Sencha Touch 2.1.0. I am making a HTTP GET call. It is a CORS request. Hence it is sending Pre-flight HTTP OPTIONS command as expected. I have installed CORS filter on my server and configured it. The calls from my code were going…
6
votes
4 answers

Show multiple item in horizontal list

i am new for sencha touch. Here I got a problem, how can I show each row only contain 3 or 4 item? Please see my screen shoot below I need to show the list like example below Here is my view js file …
user998405
  • 1,329
  • 5
  • 41
  • 84
6
votes
2 answers

Accessing static properties in Sencha Touch

How do you create static fields in a class and then access them from outside of that class in Sencha Touch 2? For example I have created a simple singleton with a single static: Ext.define('App.util.Config', { singleton: true, statics: { …
nsg
  • 10,510
  • 4
  • 21
  • 32