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
1 answer

Calling member functions on click/tap within sencha touch 2 templates

I am rather new to sencha touch, I've done a lot of research and tutorials to learn the basics but now that I am experimenting I have run into a problem that I can't figure out. I have a basic DataList which gets its data from a store which…
Dave Watt
  • 155
  • 2
  • 14
1
vote
1 answer

PhoneGap destinationType property is returning the incorrect file uri

I am using PhoneGap + Sencha Touch on an application. I have managed to take a picture and upload to a server. I am having a problem selecting a picture from the photolibrary. selectPicture: function () { …
squistbe
  • 305
  • 1
  • 3
  • 18
1
vote
1 answer

How can i use a button on a sencha tabbar to put an overlay panel

I am working with a sencha app and we have 3 tab panels but want to add an extra button to the tab bar that instead of sliding to a tab, just overlays a panel with buttons ontop of the first tabpanel. Eg if you are on the first tab and press the…
QazPhilby
  • 117
  • 1
  • 2
  • 10
1
vote
2 answers

Use PullToRefresh Plugin

ust started using Sencha Touch 2 and need to integrate https://github.com/j-mcnally/Sencha2-PullToRefresh I've just started using Sencha, and wasn't able to find in the documentation where to drop in and reference such extensions. What's the file…
veena
  • 39
  • 3
1
vote
0 answers

How to play youtube video using feeds in sencha Touch2

I want to play youtube video using youtube feeds like http://www.youtube.com/rss/user/userName/videos.rss xtype: 'nestedlist', title: 'Blog', iconCls: 'star', displayField: 'title', store: { type: 'tree', fields:…
1
vote
2 answers

Link item list to Carousel item

I would like to link a list to another view (carousel layout), for example carousel item no. 2. What should I put in this bracket? onItemDisclosure: function() { [......] } I want to achieve…
Sola Sawa
  • 27
  • 2
1
vote
1 answer

Is it possible to have drag n drop short list like iPhone bookmark in Sencha Touch 2

I'm wondering if drag n drop short list like the functionality of iPhone bookmark possible in Sencha touch 2. I've searched through many sencha touch Q&A but didn't find any suitable answer. This code makes list draggable but only works for top to…
Moin Uddin
  • 349
  • 5
  • 16
1
vote
3 answers

Ignored build paths in sencha touch 2

When i try to build my package for production the custom build path i have set up in my app.json is ignored. I got this in my buildPath: "buildPaths": { "testing": "build/testing", "production": "build/project/assets/www", …
Jack Sierkstra
  • 1,414
  • 2
  • 20
  • 42
1
vote
0 answers

Number field's select function not working on some HTC devices

I have a number field. I want to select the text whenever the user touches it, so I handle its focus event. In the event call back function, I have call select function as below: init : function() { this.control({ 'firstScreen…
Gem
  • 1,516
  • 16
  • 21
1
vote
1 answer

How do you set a css class based on a select query in Sencha Touch?

I have a simple select query to select DOM node: var selectNode = Ext.select('.myCSSClass textarea'); I want to apply a css class to textarea. I have tried: selectNode.addCls('newClass'); I have also tried using Ext.ComponentQuery to select the…
squistbe
  • 305
  • 1
  • 3
  • 18
1
vote
3 answers

Sencha Touch - Redirect to another view

I am building a Sencha Touch application and struggling with redirecting or changing another view after login. After login i need to take it to Home Page. But my below code in Login Controller's authenticateUser()not working. Tried with…
Murali Murugesan
  • 22,423
  • 17
  • 73
  • 120
1
vote
1 answer

Automatic time update

I'm showing current time on a button in Sencha-2. Time is updating but only once. I want continuous updation Below is my code:- Ext.define("Stackoverflow.view.Demo", { extend: "Ext.Container", alias: "widget.demo", config: { …
Vikal Sharma
  • 555
  • 2
  • 11
1
vote
1 answer

Hiding a button on pushed view and showing it when back to list view

When I load my list view it has several blog posts and a refresh button on the top left. If I tap on a list item a view is pushed with the contents of that specific post. When this view is pushed in, the refresh button is hidden. But when I tap…
pepe
  • 9,799
  • 25
  • 110
  • 188
1
vote
1 answer

How do I fully reload my Sencha Touch App when tapping 'refresh'?

My list view layout is similar to Pinterest, with absolutely positioned blocks. Unfortunately, this seems to require a full re-initialization at refresh. If reload only the store (as below) the new blocks are incorrectly positioned. How do I reload…
pepe
  • 9,799
  • 25
  • 110
  • 188
1
vote
1 answer

Form field to pick from a list of objects in a store

I'm new to Sencha, trying to implement a Sencha formpanel with a field to pick from a list of objects in a store. This seems like a sufficiently basic pattern that there must be a simple solution. I have a model which defines an ajax endpoint…
jsarets
  • 71
  • 7