sencha-touch

Mobile Application Using Sencha Touch - JSON Request Generates Syntax Error

Hi, I started playing a bit with Sencha Touch. So I've built a really simple application based on one of the examples just to see how it goes. Basically it creates a JSON Request which executes a Last.FM web service to get music events near the user's location. Here's the JSON code: var makeJSONPRequest = function() { Ext.ut...

Sencha Touch Tab Handlers

I'm trying to do a Tabpanel in Sencha Touch and add a handler to one of the buttons, but the event doesn't fire when I click it. Any ideas? Here is the code: The handler: var handler = function(button, event) { var txt = "YES!"; alert(txt); }; And the item: items: [{ xtype: 'button', title: ...

Sencha Touch vs jQueryMobile

I know jQueryMobile is not out yet. Anyone knows which mobile dev environment (create once-render on any mobile device) is more promising? ...

Ext.TabPanel items handler

Hello. Is there any possibility to get an event when you click on the tab? var buttons = [ { title: 'Home', iconCls: 'home' }, { title: 'Search', iconCls: 'search' } ]; var panel = new Ext.TabPanel({ fullscreen: true, cls: 'panel', ui: 'dark', tabBar: { ...

Adding child container using sencha

Hello, I am trying to add a container into a popup window.For that I created a container and a pop window.But i can't place the container in a pop window.Is there any way to place it. Thanks ...

how to create panel using sencha

I want to create a panel using sencha.i tried the following code.but it doesn't works. Ext.setup({ icon: 'icon.png', tabletStartupScreen: 'tablet_startup.png', phoneStartupScreen: 'phone_startup.png', glossOnIcon: false, onReady: function() { var main = new Ext.Panel({ title: 'My first panel', //panel's...

How do I update a tabPanel item title in extjs (sencha touch)

How od I update the title property for an item in a tabPanel from another function? mainpanel is my tabPanel and I am successfully updating the title according to my js debugger. Calling doLayout(); doesn't seem to redraw the tab in the UI though! var mainpanel = Ext.getCmp('mainpanel'); var item = mainpanel.items.items[0]; ...

How to make use of the "pinch" touch effect in the Sencha Touch framework?

I'm trying to figure out how to make use of the "pinch" touch effect with Sencha Touch. Do you know of any examples that help with the first steps? The documentation seems to be rather silent about it. Specifically I'm looking for a common task as a starter: I want to zoom it - and - zoom out of an image in JPEG format. Do you know if...

Best available guide to Sencha?

hi everyone, i'm very new to sencha and i need help with it. can anyone give me few links regarding sencha tutorials and books.... on the other day i found out a site showing info and source code about sencha. i remember it as sencha kitchen sink.....but now when i google it i couldn't find it if you know about this please help me wi...

Navigating with a button in sencha touch

Hello, I am taking my first steps with Sencha touch. The results are just what I am after, getting there however is a struggle to get how sencha is put together. I am slowly figuring it out but sometimes the way the code works is a bit WTF. I am trying to build a very simple app that does the following. 1) Has three tabs, Search nearby...

How to access the attributes of a class in sencha.........?

hi everyone, i'm very new to sencha.i have a bit problem in accessing the data from framework.. what i planned is to access the attribute "selectedIndex" from the class Ext.Picker.Slot so that i can place it the index.js file and loop the "selectedIndex" attribute so that i can create a rotating effect to my list , i'm trying to dynam...

Sencha PHP Mysql

Hi there, Looking around my understanding is Sencha is purely JS based. Wondering if there is any way for me to use content from PHP + myslq driven website? Cheers rd ...

Stuck scrolling of a list, using Sencha Touch

What I am trying to do is have a "load more" button at the bottom of a ajax populated list. I have got all the code working with a docked button, but I would now like to have it at the bottom. What is happening is when the listView card is show I see my list but the list won't scroll. It pulls up and down a little but just won't have it...