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
7 answers

Generate a sencha touch app

I am trying to create a new sencha touch app using "sencha generate app MyApp ../MyApp" command on Windows. I have done the following : Downloaded the latest sencha SDK and extracted it in folder "D:\MyProjects\sencha-touch-2.1.0-gpl"…
Prashanth
  • 2,404
  • 1
  • 17
  • 19
6
votes
1 answer

confusion between sencha touch 2 and Phonegap

Possible Duplicate: Difference of Native packaging between Sencha touch2 and PhoneGap I've read many articles on the difference between Sencha Touch and Phonegap. This one for instance. It confused me. Initially I thought Sencha Touch was just a…
md1hunox
  • 3,815
  • 10
  • 45
  • 67
6
votes
3 answers

How to cache subcomponents instance inside components

A lot of Sencha Touch examples I found online, don't really focus on proper view encapsulation. So the Controller listens to every single button's event even if the button is deep nested inside a view. In other words the internals of the view leak…
Christoph
  • 26,519
  • 28
  • 95
  • 133
6
votes
2 answers

Add (right) Button to Sencha Navigation View

I want to dynamically add a (right aligned) button to the active navigation view depending on view Im showing. Is there any proper way to do it? I found many half good examples online, but didnt get them to work. Here is what I…
Thomas Vervik
  • 4,325
  • 9
  • 36
  • 64
6
votes
3 answers

Sencha Touch 2 - Android Performance

We are developing a Sencha Touch 2 application which makes use of Phonegap to be able to install it as an application and access the storage of a device. This works really well on the iPad 2 and the iPad 3. However when we tried to run the…
6
votes
2 answers

How to get .ipa file with PhoneGap for iOS?

I have developed an PhoneGap application using Sencha Touch 2 in Android. Now I want to develop the same in iOS without changing the code. I tried using PhoneGap Build but it was asking for Apple developer registration or developing Xcode using…
yrkapil
  • 444
  • 2
  • 7
  • 17
6
votes
2 answers

How to do use Sencha NavigationView, deep linking and browser history properly

I use a NavigationView as the root panel. And the thing I try to accomplish is to push views onto my root panel as the user navigates deeper into my application, and pop them of when the user goes back. Here is a simple examples showing my problem:…
jorgenfb
  • 2,215
  • 1
  • 21
  • 31
6
votes
3 answers

Sencha Touch 2: List does not display in Panel

I am working on an MVC app in Sencha Touch 2 and am having trouble getting a list to display in a nested panel. The structure of the app has a main view which is a tab panel. One of the items in the tab panel is a defined panel, xtype: 'homepanel'.…
jrboddie
  • 161
  • 1
  • 5
6
votes
3 answers

Sencha Touch Label - does it have a Tap Event?

I'm trying to build a flashcard app with sencha touch 2. I have a label showing the question, which takes up the entire screen, I want it so that when the user taps on the label the answer shows. Does the label have a 'tap' event? It works when I…
James Gu
  • 1,382
  • 4
  • 26
  • 39
6
votes
1 answer

Sencha Touch 2 native build vs wrapping Sencha Touch 2 in Phonegap

I know there are a few questions pitting Sencha Touch 2 against Phonegap, and that is not what I mean to do here. I have been planning to build my Webapp using Sencha Touch 2 and wrapping it in Phonegap; but I just found out that Sencha Touch 2 also…
E.E.33
  • 2,013
  • 3
  • 22
  • 34
6
votes
1 answer

sencha app build production: doesn't combine my js

So... as I have read through the Sencha Command documentation, it tells me that the build will automagically (using Phantom JS) be able to tell me what all of my dependencies are, and in what order. Based off of that, I am expecting the "sencha app…
frosty
  • 21,036
  • 7
  • 52
  • 74
6
votes
5 answers

How to alert the user when there's no internet connection

I need to alert the user with the following conditions; Request timed out No internet connection Unable to reach the server Here's the code; How to capture the following conditions when occurred and alert the user ? failure: function (response) { …
user1315906
  • 3,374
  • 8
  • 30
  • 43
6
votes
2 answers

Sencha Touch 2 + PhoneGap + iPad: Video with base64 encoded data: "The Operation could not be completed"

My application (wrapped in PhoneGap) runs both online and offline mode. I store images and videos encoded in base64 in localstorage. When I debug this on browser it runs just fine, but on iPad it shouts out "The operation could not be completed" in…
Ricardo
  • 11,609
  • 8
  • 27
  • 39
6
votes
3 answers

How Can I Get marker on current location in map in Sencha-Touch2.0

Hey friends i m new to Sencha Touch platform. And I want to find user current location with marker please help me out. i stuck in this condition. Is there any new good tutorial for me then please share with me.. Thanks in Advance for your…
Ravi Patel
  • 63
  • 2
  • 5
6
votes
3 answers

Redirect_uri_mismatch when contacting Google APIs with OAuth2

I'm creating a mobile app using Sencha Touch and PhoneGap. I want to be able to allow users to log into the app using their Google credentials but am hitting a brick wall with the initial request with the following error: The redirect URI in the…
Stuart
  • 3,258
  • 4
  • 29
  • 39