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

Sencha Touch 2: How to create/show new view on list item tap

I have a List that I am populating dynamically, I want to create a new view and then display it(in the tab view) on the fly via a button tap on the item but I don't think I am going about it correctly, How can I correctly implement this? …
ninjasense
  • 13,756
  • 19
  • 75
  • 92
1
vote
2 answers

unable to create .apk file for sench touch application

i have developed Sencha Application.i want an apk file to test on Device.i refered sencha Docs for it.all the commands works fine except "sencha package build config.json" .i have attached error file "here".And configuration file here "json…
Deepak Borade
  • 191
  • 2
  • 5
  • 15
1
vote
1 answer

Pass value to view on create

Im trying to make a custom view and pass a value when I add it in another item using the xtype. It looks simple because I dont need to use stores or anything like that, its just static values but I cant achieve it :( My idea is to place this in a…
Masta
  • 149
  • 4
  • 15
1
vote
2 answers

Height of dataview list in sencha touch based on number of items

I need to adjust the height of dataview list in sencha touch based on number of items. What I have done so far is just this configs in that list config: { fullscreen: true, height:'100%' store: 'CategoryListStoresecond', …
user7282
  • 5,106
  • 9
  • 41
  • 72
1
vote
1 answer

Display the time picker value in the textfield using sencha touch 2

Ext.define("Datetimepicker.view.Main", { extend: 'Ext.form.Panel', requires: [ 'Ext.TitleBar', 'Ext.field.DatePicker', …
jimmy
  • 37
  • 1
  • 6
1
vote
1 answer

Calling sencha controller function from android activity

webView.loadUrl("javascript:myFunction();"); is not working for me. Is there any other way to call a Sencha function written inside MyController.js from an Android activity? I am not using PhoneGap - instead, I'm running Sencha app directly from a…
1
vote
3 answers

Change back button text in sencha touch detail card of nested list

How can I change back button text in sencha touch detail card of nested list. What I have done in detailcard config is : detailCard: { xtype: 'panel', styleHtmlContent: true, scrollable: true, html: ' Loading ...... ', id:…
user7282
  • 5,106
  • 9
  • 41
  • 72
1
vote
1 answer

How to set new data in the chart of Sencha touch

Hi I downloaded Sencha touch 2.1 and I used chart example code given in that to run it and it worked well. but as per my requirement I have to refresh the chart when User selects a year from picker. but I am not able to update the chart. For 1st…
Pawan Kumar
  • 103
  • 1
  • 12
1
vote
1 answer

Phonegap Plugins

I need some Help regarding Phonegap plugins: First , i have a JS File which invoke the native code using the phonegap.exec() containing the result handler function, error handler function , a reference to the native class's name and native function…
1
vote
2 answers

Sencha Touch 2 list itemtap not working when coming back from edit form

I followed this tutorial on how to use Sencha Touch 2 with Architect and an ASP.NET MVC 4 WebApi backend : https://vimeo.com/45207356# Everything works but a simple thing. As soon as I get back from the detail form, the itemtap event listner doesn't…
Patrice Cote
  • 3,572
  • 12
  • 43
  • 72
1
vote
1 answer

Sencha Touch : How to change the default image of Select dropdown field?

I want to change the default Image of Select Dropdown in Sencha Touch to a customized image? I have attached screenshot for reference. I am not able to find any property to change this image. More over I did not find any sencha class which I can…
Gendaful
  • 5,522
  • 11
  • 57
  • 76
1
vote
1 answer

How to refresh tab panel items in Sencha Touch 2

I am using a tab panel (Ext.tab.Panel) that has 4 tabs and on one of the child screens when the user make a selection from a radio button group, I would like the tab panel to refresh itself (i.e. load new text, new icons). How can I force the tab…
M Azam
  • 518
  • 1
  • 7
  • 28
1
vote
3 answers

How do I left align title text in title bar using Sencha Touch

Can anyone show how I can set the alignment of the title in a title bar to left justified. I'm currently trying this but it isn't working: var p = Ext.create('Ext.Panel', { items: [ { xtype: 'toolbar', docked: 'top', …
jaffa
  • 26,770
  • 50
  • 178
  • 289
1
vote
1 answer

Pushing new full-size image view from a gallery of thumbnail images in Sencha Touch 2

I am currently using Sencha Touch 2 to create an image gallery. I have already been successful in loading the images from a JSON store in the main gallery, which features thumbnails of the images. I want to be able to have the user click/tap on each…
lisasy
  • 67
  • 8
1
vote
1 answer

How can I speed up debugging in Sencha Touch?

I'd like to be able to speed-up the debugging process when building Sencha Touch apps. At the moment I have to disable caching as any changes I make to the source would not get updated when refreshing the application and I also want to persist…
jaffa
  • 26,770
  • 50
  • 178
  • 289