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
102
votes
30 answers

Registry key Error: Java version has value '1.8', but '1.7' is required

While running sencha app build production I am getting the following error: Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required. Error: could not find java.dll Error: Could…
Anand Gupta
  • 5,640
  • 3
  • 27
  • 37
31
votes
5 answers

A solid tutorial for Sencha Touch V2

I found a great tutorial on creating an MVC App from Scratch using Sencha Touch V1.1 but unfortunately it isn't all that applicable to Sencha Touch V2. I want to learn the new/right way to build an MVC app moving forward with their latest…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
24
votes
4 answers

PhoneGap 1.4 wrapping Sencha Touch 2.X - What about performance?

I'm building a multiplatform tablet app wrapping it with Phonegap 1.4 using just its webview, then I work my magic with the Sencha Touch 2 framework. By multiplatform I mean iOS 5.X+ and Android 3.0+ (for now). This app is working great so far, all…
Ricardo
  • 11,609
  • 8
  • 27
  • 39
23
votes
3 answers

ActiveXObject is not defined and can't find variable: ActiveXObject

i want to create text file in local, when i browse in Google chrome click of the button it is showing error like ActiveXObject is not defined and when i browse in safari click of the button it is showing error like can't find variable:…
Ramesh Lamani
  • 1,117
  • 3
  • 25
  • 54
17
votes
2 answers

How to change the default heading of 'alert'

I am trying to use the alert method, so the native iOS like alertView will popout. Everything works fine, and the alert gets displayed. But the Heading of the Alert is always index.html. How can i edit the heading of the alert method
user1315906
  • 3,374
  • 8
  • 30
  • 43
16
votes
11 answers

phonegap geolocation always fail on timeout

I'm using sencha-touch 2.0 and phonegap 2.0.0 in my app to retrieve user's location. When runing on my locahost, everything works just fine. However, when loading the .apk to my android 15 api's device (using eclipse and the adt plugin), every call…
gsuoyb
  • 153
  • 1
  • 1
  • 5
16
votes
2 answers

What is the difference between xtype and alias?

What is the difference between xtype and alias used in Sencha? They're both seem to be used as shorthand in different places.
ming_codes
  • 2,870
  • 25
  • 24
15
votes
3 answers

Sencha vs Ionic vs Jquery Mobile vs Appcelerator Titanium

I have a good experience on HTML5,Javascript, jQuery, AngularJS. I am about to develop a hybrid mobile app. i just want to know which one of them is the best. And i am planning with IONIC as it has started supporting windows too. How far this will…
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
2 answers

load an html file into a panel

I am new to sencha touch 2.0. I have an html file. I am trying to load this html file(or content) into a panel. I am simply using an ajax call but its not working. Following is the code. This is the html file i am running in the…
techie
  • 219
  • 2
  • 8
  • 13
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
5 answers

Sencha Touch 2.1: Form Panel Keyboard hides active Textfield on Android

When I tap a textfield at the bottom of the screen, the keyboard appears and hides the active element. On iOS, it works perfect. I'm able to scroll the form, so the textfield is in the visible area, but that's not nice at all. Am I doing something…
swalkner
  • 16,679
  • 31
  • 123
  • 210
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
13
votes
1 answer

Sencha Touch 2 android performance

I am hearing that sencha in general, by the mere fact of using javascript, has performance issues on android devices. I am familiar with limitations of the android webview object, but I was wondering if these performance claims have any merit,…
CQM
  • 42,592
  • 75
  • 224
  • 366
1
2 3
99 100