Questions tagged [sencha-touch]

Sencha Touch is a multi mobile device JavaScript library based on HTML5 and the Model, View, Controller pattern. It is a product of Sencha Inc.

Sencha Touch is a multi mobile device JavaScript library based on HTML5 and the Model, View, Controller pattern. It is a product of Sencha Inc.

Sencha Touch 1.1.1 supported platforms

  • Apple iOS 3+
  • Android 2.1+
  • RIM Blackberry 6+

Sencha Touch 2.0 supported platforms

  • Android 2.3+, 4.03
  • iOS 4, 5.
  • BlackBerry 6+

Resources

Latest stable release

Licensing

  • Free Commercial License
    • Includes minor updates but excludes major updates and patch releases.
    • According to the FAQ, selling an SDK or application designer based on Sencha Touch requires a paid OEM license.
  • GPL v3
4732 questions
16
votes
2 answers

jQuery Mobile Vs Sencha Touch

I am planning to create a mobile or rather a tablet version of my existing web app. The devices supported would be iPad, Xoom (android). I am not sure which JS library to use jQuery Mobile Vs Sencha Touch My page would contain srandard componenrs…
copenndthagen
  • 49,230
  • 102
  • 290
  • 442
15
votes
4 answers

What is the proper way to load an external javascript in Sencha Touch 2

In my development I need to include third part javascripts; like money.js (http://josscrowcroft.github.com/money.js/) What is the best 'clean'/'proper' way to achieve it ? Just include it in index.html ?
Disco
  • 4,226
  • 11
  • 58
  • 76
14
votes
3 answers

Sencha + PhoneGap

I am about to develop an application for iPhone using Sencha Touch + PhoneGap and I have a few very basic questions: 1)I want to read an XML file which is at the location http://abc.om/app/a3/. I used Sencha to read this xml but its giving me the…
user580950
  • 3,558
  • 12
  • 49
  • 94
14
votes
3 answers

How to call functions within a XTemplate (itemTpl)

I would like to use Ext's String method on some text that will be output to the view. For example: itemTpl: [ ... '', '', '

{post_text_teaser}

', '

{timestamp}

', …
pepe
  • 9,799
  • 25
  • 110
  • 188
13
votes
3 answers

Sencha Touch 2.0 MVC tutorial

I am very new to Sencha Touch framework, want to start with Sencha Touch 2.0 but not able to find any tutorial showing an application built using MVC Pattern and specifically in Sencha Touch version 2.0.
coure2011
  • 40,286
  • 83
  • 216
  • 349
13
votes
4 answers

Sencha Touch Vs Backbone.js

What are the basic difference Sencha Touch and Backbone.js, actually have built a project in backbone.js but not aware of Sencha Touch. I have to built a PhoneGap application which one is better for that?
GauravSTomar
  • 604
  • 1
  • 7
  • 26
13
votes
2 answers

window.onerror doesn't work in mobile -- How should I deal with unhandled exceptions?

I'm working on a complex web application written in Sencha Touch and PhoneGap. The way Sencha Touch applications are written makes it hard to surround every potential failure point with a try/catch, especially with asynchronous AJAX request…
Yoh Suzuki
  • 1,435
  • 2
  • 11
  • 15
13
votes
2 answers

Frustrations with deciding on the right iOS Mobile Safari web development tools (jQuery Mobile/Sencha Touch/etc)

After completing one project with Backbone JS and jQuery Mobile for the iPad Mobile Safari, it left me feeling that jQuery Mobile is maybe not the right tool for that particular job. I have found the performance of jQuery Mobile generally quite…
13
votes
7 answers

Uncaught InvalidValueError: setMap: not an instance of Map

when i used the sencha touch2.2.1,i met a question. In the viewer: items: [{ id: 'mapCanvas', xtype:'map', useCurrentLocation: true, }] In the controller: var map= Ext.getCmp('mapCanvas'); console.dir(map); var marker= new…
user2996645
  • 131
  • 1
  • 1
  • 4
13
votes
3 answers

Difference of Native packaging between Sencha touch2 and PhoneGap

What is the difference of native packaging between Sencha touch2 and PhoneGap? Many people use PhoneGap to natively package app based on Sencha touch, but I find that Sencha touch 2 has a new feature of native packaging. So which type of native…
user1413305
  • 161
  • 2
  • 6
12
votes
2 answers

How to save user login credentials using PhoneGap API?

I want to save user login credential in my iPhone app, The app is build using PhoneGap and SenchaTouch API's. If the user login through the App, I want to save his userId/Password unless and until he specifically logout. This will save him from…
user842122
  • 295
  • 2
  • 4
  • 18
12
votes
7 answers

Sencha Touch - deselect list item?

I'm working on a Sencha Touch application, and have a list of contacts. When a list item is tapped, an ActionSheet is displayed showing some basic functions (such as call, delete and ignore). Unfortunately, when the user taps and the ActionSheet is…
BenM
  • 52,573
  • 26
  • 113
  • 168
12
votes
1 answer

Convert GMT time to local time

Am getting a GMT time from my server in this format Fri, 18 Oct 2013 11:38:23 GMT My requirement is to convert this time to local time using Javascript, eg:/ if the user is from India, first i need to take the time zone +5.30 and add that to my…
Dibish
  • 9,133
  • 22
  • 64
  • 106
12
votes
1 answer

Populating icons in Sencha Touch selectfield

I've got a pretty simple problem whose solution turns out not to be that simple at all. I want to add images in front of each option of a selectfield. To be more accurate, I want to add images to the picker it triggers, and also to the selectfield's…
MCL
  • 3,985
  • 3
  • 27
  • 39
12
votes
3 answers

OPTIONS 405 (Method Not Allowed) regardless server sends Access-Control-Allow-Methods:OPTIONS, GET, HEAD, POST

I'm trying to make cross-domain request and my server is configured to send the following headers: Access-Control-Allow-Credentials:true Access-Control-Allow-Headers:x-requested-with, Authorization Access-Control-Allow-Methods:OPTIONS, GET, HEAD,…
Spadar Shut
  • 15,111
  • 5
  • 47
  • 54