sencha-touch

How to get .ipa file with PhoneGap for iOS?

心已入冬 提交于 2019-12-03 03:34:17
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 MacBook. Is there any other way that I can generate an .ipa file using Windows XP, PhoneGap? If your app really is just a straight PhoneGap app -- all HTML, JavaScript, etc. and no custom Objective-C stuff, phonegap.com offers a build service that'll build your app for all the platforms they support. You'll still have to register as an iOS developer and

Pass Argument From tpl Sencha

最后都变了- 提交于 2019-12-02 21:31:28
问题 My json is as follow: ({ "status":"TRUE", "message":"Words", "data":[ { "name":"paint", "author":"snooky", "word_id":"1", "category":"Business", "definitions":[ { "rating":"Green", "defintion":"to put color to in something", "def_id":"1", "example":null, "author":"pit", "is_favourite":"yesStar" }, { "rating":"Red", "defintion":"this is a new definition of word paint.", "def_id":"42", "example":null, "author":"bull", "is_favourite":"noStar" } ] } ] }) I am parsing this value and show it in tpl

How to make a signed APK in Sencha Touch 2

帅比萌擦擦* 提交于 2019-12-02 21:22:50
Dear All, I have successfully made an application using Sencha touch 2 it's working fine in my Android device, also on Tablet and emulator. But the problem is that the apk file could not be uploaded on Android Market it shows me a error: .apk is not signed also validity year 50 Error in Google market -: Google Play does not accept apks signed with the debug certificate. Create a new certificate that is valid for at least 50 years. I have changed my certificate also "configuration":"Release" but not get any success. Dear i am also sharing my whole configuration file. If you find any of the

How to do a self-destroy inside a custom component in Sencha Touch

丶灬走出姿态 提交于 2019-12-02 18:09:50
问题 update: new code: Ext.define('Fiddle.MyCmp',{ extend:'Ext.Component' ,alias:'widget.mycmp' ,config:{ html:'MyCmp' } ,initialize:function() { var me = this; console.log(me); Ext.Function.defer(me.destroy, 5000, me); Ext.Function.defer(function(){ console.log('after 8 seconds'); console.log(this); }, 8000, me); } }); Ext.application({ name : 'Fiddle', ref:{ cmp: 'mycmp' }, launch : function() { Ext.Viewport.add({ xtype:'mycmp' }); } }); Still after 8 seconds, I still can print out the component

How to use json proxy to access remote services during development

為{幸葍}努か 提交于 2019-12-02 16:33:22
问题 This is my doubt after going through How to send headers while using jsonp proxy? and How Ajax call is working in mobile app (PhoneGap), but not in PC browser? As per this we can use json proxy instead of jsonp in mobile but not in desktop browser. This sounds good but my problem is I am using my desktop as develop environment and browser is quickest way to test and debug whatever I am doing but if I use json proxy this won't work because of cross domain issues. Please suggest ways such that

What is the Best Framework for HTML 5 Based Mobile Development? [closed]

只愿长相守 提交于 2019-12-02 16:15:22
What is the best framework for HTML 5 based mobile development? I evaluated a few frameworks like jQuery Mobile , Sencha Touch , but didn't find any framework which extends its components in the mobile version as it does on the desktop version. Do you have any suggestions? If you want to build a mobile-only site, I think the best html5 frameworks are: jQuery mobile + PhoneGap Sencha Touch + PhoneGap If you want to build a website that adapts for mobiles, tablets and desktop computers use Twitter Bootstrap , HTML5 Boilerplate , Zurb Foundation , Skeleton or Blueprint I suggest going for Twitter

Sencha Touch JSON Format

℡╲_俬逩灬. 提交于 2019-12-02 12:38:39
I'm trying to input a JSON file with the following format: [{"target": "stats.server14", "datapoints": [[0.0, 1340034660], [0.016666666666666666, 1340034720], [0.11666666666666667, 1340034780], [0.18333333333333332, 1340034840], [0.05, 1340034900], [0.0, 1340034960], [0.05, 1340035020],[null, 1340121000]]}] I cannot figure out how to parse this, as it includes metatags and nested data points. Here is what I have so far: Ext.regModel('DataModel', { fields: [ {name: 'target', type: 'string'}, {name: 'datapoints', type: 'string'} ] It just returns the data points in one big string. I'd like to

getting index value 0 from dataview any list itemtap from sencha touch

江枫思渺然 提交于 2019-12-02 12:35:08
问题 I am unable to get index value form the dataview: { xtype: 'list', itemId: 'catList', store: 'CategoryStore', scrollable: false, layout: 'fit', itemHeight: 20, itemTpl: [ '<div>', '<tpl for="data">', '<span >{category_name}</span> ', '</tpl>', '</div>'], listeners: { 'itemtap': function(list, index, target, record, e, eOpts){ console.log(record.get('cat_id')); } } } Edited: If i put data static on store it works fine but it does not work while getting data from server: it works like as

Sencha Touch 2: tapping Ext.Msg.show that have no buttons

送分小仙女□ 提交于 2019-12-02 10:16:57
I want to display the popup message without any buttons. Ext.Msg.show({ title: '', message: 'Some text goes here...', buttons : [] }); It works fine. How to make it disappeared when you tap on it? I tried for you and i got what you want Ext.Msg.show({ title: 'Title', message: 'Some text goes here...', itemId : 'showMsg', buttons : [], listeners:[ { element: 'element', delegate: '', event: 'tap', fn: function() { this.hide(); } }] }); 来源: https://stackoverflow.com/questions/17596316/sencha-touch-2-tapping-ext-msg-show-that-have-no-buttons

Email form detail in Sencha Touch giving exception

。_饼干妹妹 提交于 2019-12-02 09:05:28
I have a form in my page. I want the form details, which are filled by user, to send on a particular email. Here is my Form: xtype: 'formpanel', width: 300, height: 900,//recommended for the build url: 'contact.php', scrollable:false, items:[ { xtype: 'textfield', name : 'name', label: 'Name', labelWidth:100 }, { xtype: 'textfield', name : 'Date of birth', label: 'Date of birth', maxLength: 10, labelWidth:120 }, { xtype: 'textfield', name : 'Nationality', label: 'Nationality', labelWidth:100 }, { xtype: 'textfield', name : 'City of Residence', label: 'City of Residence', labelWidth:170 }, {