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
1
vote
0 answers

Reusing DAL in ASP.Net Web Forms in Sencha

I have a N-tier web application built in ASP.Net Web Forms. The application registers users for a youth sports program - and it works great! The client has asked me to build a mobile version of registration. I'm going to need to build a new front…
1
vote
0 answers

Phonegap + Sencha touch 2 + Android first ajax request opens the browser

I have an Sencha Touch 2 application and I'm using PhoneGap (Cordova) to get it to work as an native application. I got plenty of Ext.Ajax requests in my application and they work fine on iOS (with XCode). But when I launch the application to my…
1
vote
3 answers

Sencha Touch button has no response to Tap event

i'm new in sencha touch and i'm having a weird problem with a button. I'm using mvc, and i have: Adduserview.js Ext.define('App.view.Adduserview', { extend: 'Ext.form.Panel', xtype: 'adduserview', requires:…
1
vote
1 answer

Sencha Example - "device" shows white screen on native android package

I tried using "device" example present at location "~\sencha-touch-2.0.1.1\examples\device" . Now when I run it through browser it runs and I m able to see the "Device Orientation" and "Geolocation" module working as Camera module will only work…
1
vote
2 answers

How to load a view in a container

This looks like basic but I am new to Sencha Touch and still have no idea how to implement this. I want to create a welcome page where it shows only a logo in the center of the screen. Then after 5 seconds or so, It would load the main page. Here's…
Henry Gunawan
  • 922
  • 3
  • 18
  • 38
1
vote
1 answer

Segment button in toolbar appearing left aligned

The segment button in toolbar is appearing aligned left in Android device, but in my chrome browser and iOS device its appearing at center. How to make in Android also appear at center.
amrit_neo
  • 1,759
  • 4
  • 19
  • 39
1
vote
1 answer

Upload file to Amazon S3

I am building a mobile web app using Sencha Touch 2, and I need to upload file from the app to Amazon S3, and get the file url from S3. The PHP part is almost finished, how shall I implement my sencha program to allow user click a button, and open…
zhoubo
  • 39
  • 8
1
vote
2 answers

Listener to Tab Item Click in Sencha

In my application, I'm using a tab panel with 5 items in it. Each item holds around 6 panels added in card layout. When I'm at the last panel inside a tab item, I need to get back to the initial panel by clicking on the bottom tab panel (somewhat…
heyjii
  • 834
  • 8
  • 26
1
vote
2 answers

Override a system event: textfield clear

I've got many TextFields in my app, all with the same problem: After pressing the clear-icon in the right the focus of this textbox is lost. This solution works but is not efficient, because then I'd have to do it for every textfield: …
andy
  • 531
  • 5
  • 16
1
vote
2 answers

Sencha Touch 2 rounded panels : CSS newb

I'm really green regarding CSS. As a matter of fact, I didn't really understand the concepts, even after reading like 3 books. What I'm trying to achieve here is create some rounded corner panels with Sencha Touch 2.0.1. I have a Ext.Panel. I give…
Patrice Cote
  • 3,572
  • 12
  • 43
  • 72
1
vote
1 answer

Change Android Manifest file sencha

Iam using sencha packager to package sencha app how do i modify the android manifest file that gets created as part of the build process...
Ram G Athreya
  • 4,892
  • 6
  • 25
  • 57
1
vote
1 answer

How to disable page transitions (for Android devices)

I want to disable page transitions for Android devices but don't know how. Here is the code of my app.js class: Ext.application({ name: 'app', models: ['PModel', 'TModel'], stores: ['PStore', 'TStore'], controllers: ['HController', 'PController',…
StackFlower
  • 691
  • 1
  • 13
  • 29
1
vote
1 answer

Can a Sencha Touch 2 Ext.List component have subcomponents instead of using HTML in the itemTpl property?

I'd like have a list with interactive components within each list item, such as multiple buttons and labels that I can toggle the hidden status of. Is this possible? We basically want to have an accordion-type list that allows you to expand each…
JackAce
  • 1,407
  • 15
  • 32
1
vote
2 answers

How to pass data from a Controller to a View

I have the following listener on a list view in a tab panel: listeners: { itemtap: function (list, index, item, e) { var record = list.getStore().getAt(index); this.fireEvent('showListCommand', this, record); } This is the config of my…
1
vote
1 answer

How to disable an option in Ext.field.Select?

I have the following construct to create a select: Ext.create('Ext.field.Select', { renderTo: Ext.get("displaySizes"), xtype: 'selectfield', label: 'Sizes', options: [ { disabled: true //<- does not work …
axel wolf
  • 1,446
  • 3
  • 18
  • 29