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
5
votes
2 answers

Sencha Touch 2 - JSONP proxy help, template always has null for values

I'm having trouble getting actual data to show up in a Sencha Touch 2 list. The list should be populated by a JSONP response, and I expect 2 rows to show up. Instead, I get one row with 'null at null'. Here's the URL that gets…
Sarah Vessels
  • 30,930
  • 33
  • 155
  • 222
5
votes
2 answers

Sencha Touch 2 - How to get form values?

I've got a Sencha Touch 2 MVC app with a form as a view. I'm trying to get it's values from the controller with no success. How could this be done? I'm posting my view/controller code for this one. View: Ext.define('MyApp.view.LoginForm', { …
Roman
  • 4,443
  • 14
  • 56
  • 81
5
votes
2 answers

How do I generate a scaffold for a Sencha Touch 2.x app?

I installed the ST SDK tools, and when I do 'sencha' at the command line I see this: $ sencha Sencha Command v2.0.0 Developer Preview Copyright (c) 2011 Sencha Inc. usage: sencha COMMAND [ARGS] The available commands are: build …
marcamillion
  • 32,933
  • 55
  • 189
  • 380
5
votes
4 answers

ExtJs and Sencha Touch Search Engine Optimization

I've started learning ExtJS 4 and Sencha Touch 2, and i really like it. The main difference between Sencha products and jQuery(& others) is that instead of enhancing preexisting HTML, it generates its own DOM based on objects created in…
Dan Cearnau
  • 817
  • 1
  • 10
  • 15
5
votes
3 answers

How to make text field non editable in Sencha Touch

I have used the following properties to make an textfield and disable it for user edit. disabled: true below is my code for the Xtype decleration. xtype : 'passwordfield', name : 'password', id: 'password', disabled: true, label :…
Nilanchala
  • 5,891
  • 8
  • 42
  • 72
5
votes
1 answer

Sencha touch vs Ionic framework pros & cons

I am Phonegap/Cordova developer, I plan to move to new technology. I am a little bit confuse that which is best for mobile application development and why.
Neotrixs
  • 2,495
  • 4
  • 28
  • 58
5
votes
1 answer

When scrolling, the cursor follows the scroll instead of staying in a field on iOS?

I develop a hybrid mobile application with Sencha Touch (only HTML5, CSS and JavaScript). When I want to edit a text field, I tap on it and the iOS keyboard is displayed. However, when I scroll in the form, the cursor of the field follows the scroll…
Zistoloen
  • 879
  • 14
  • 29
5
votes
3 answers

Align buttons to the left and right in Sencha Touch toolbar

How to align buttons in Sencha Touch toolbars at both sides left and right (one button to each side)? In ExtJs I used to use '->'. But this doesn't seem to work in Sencha Touch. Any ideas ? EDIT EDIT here is my code…
code4jhon
  • 5,725
  • 9
  • 40
  • 60
5
votes
1 answer

Can anyone tell me why this bit of code doesn't create an entry into localstorage?

var myLocalStore = Ext.getStore('Default'); myLocalStore.load(); var now = new Date(); var cardId = (now.getTime()).toString() + (this.getRandomInt(0, 100)).toString(); var entry1 = { id: cardId, dateCreated: now, title: 'The Title', narrative: 'the…
Nirav Alagiya
  • 721
  • 1
  • 5
  • 19
5
votes
3 answers

Android 4.4 KitKat chromium Error: Not implemented virtual void android_webview::AwAutofillManagerDelegate::UpdateAutofillPopupDataListValues

My Android App is developed using Sencha Touch 2.3 Phone-gap 2.6. The app works fine on previous versions of Android. But on Android 4.4 (KitKat), I get the following error: 11-19 10:33:27.305: E/chromium(1203):…
rpblogs
  • 51
  • 1
  • 4
5
votes
2 answers

Store filter in sencha touch

I have store having structure : Ext.create('Ext.data.Store', { fields: [ 'title' ], data: [{ title: 'ABC' }, { title: 'ABC2' }, { title: 'ABC3' }, { title: 'ABC4' }, { …
Vinayak
  • 436
  • 5
  • 14
5
votes
1 answer

Native Sencha Touch app with Facebook authentication

Someone ever created a Native Android/iOS app in Sencha Touch and implement Facebook authentication? If so can you please share your code/method? I already go through this link https://developers.facebook.com/docs...login/devices/ but seems Facebook…
5
votes
1 answer

Sencha Touch 2 - Execution sequence

Does anyone know or is aware of an article about the function execution sequence in sencha touch 2 ? I think would help us, beginners, alot to know where to place our code. So I would like to know things like, what functions are called automatically…
Marius.C
  • 700
  • 6
  • 14
5
votes
1 answer

Re formatting JSON data to fit into tree store

I want to make Nested list of shopping categories using data provided by server which looks something like this: { "status":{"statusCode":15001}, "data":[ {"itemId":1, "name":"Men", "subCategories":[ {"itemId":2,…
ThinkFloyd
  • 4,981
  • 6
  • 36
  • 56
5
votes
1 answer

How do I lock a carousel in Sencha Touch

I am using a carousel and would like to lock the carousel until a button is clicked. Is there an easy way to do this? Thanks! My code so far: Ext.define('BabyBen.view.MainCarousel', { extend: 'Ext.carousel.Carousel', xtype:…
bnrq
  • 171
  • 1
  • 1
  • 10