sencha-touch-2

How to remove particular view from navigation stack in sencha touch?

给你一囗甜甜゛ 提交于 2019-12-03 16:25:10
I'm pushing views like this this.up('navView').push({xtype: 'myView'}) How can I remove particular view, which is in the middle of navigation stack? At least I should get rid of this warning [WARN][Ext.Component#constructor] Registering a component with a id (listxyz) which has already been used. Please ensure the existing component has been destroyed (Ext.Component#destroy(). Before pushing a view check weather the view already exists, and destroy it if its already there, so you wont get those warnings and can navigate easily. if(Ext.getCmp('myView')){ Ext.getCmp('myView').destroy(); } //Push

How to get .ipa file with PhoneGap for iOS?

☆樱花仙子☆ 提交于 2019-12-03 13:27:20
问题 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? 回答1: 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

Which one is better to use Sencha Touch or phonegap for android? [closed]

被刻印的时光 ゝ 提交于 2019-12-03 13:19:35
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I have searched many articles on Sencha Touch and Phonegap but i was unable to judge which framework is the better to integrate while

Cordova install on Linux

空扰寡人 提交于 2019-12-03 12:45:18
Does anyone know how to install Cordova on Ubuntu/xUbuntu? My attempts at executing npm install cordova as directed from the link and other sources don't work. I get the following long error message: root@li141-82:/var/www/mysite# npm install cordova npm http GET https://registry.npmjs.org/cordova npm ERR! Error: failed to fetch from registry: cordova npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9) npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)

How to switch a view container using Sencha Touch?

妖精的绣舞 提交于 2019-12-03 11:17:24
问题 How do I switch views in Sencha Touch? Currently I have a new view being shown, but it looks like it overlays onto the existing one. I think I need to hide the previous or destroy it. I was thinking of maybe using Ext.getCmp("noteslist") but this returns 'undefined' when trying to get the current container. Is this the recommended way of navigating between views or is there a better way? App Ext.application({ name: "NotesApp", controllers: ["NotesController", "TestController"], views: [

Sencha touch 2 : getting item index in itemTpl

亡梦爱人 提交于 2019-12-03 08:42:18
In the documentation of XTemplate, {#} can be used to get the current array index. When I use it in the itemTpl of an xlist, I always get 1 instead of the index: { xtype: 'list', store: 'myStore', itemTpl:new Ext.XTemplate( '<tpl for=".">', '<div>Item n°{#1}</div>', '</tpl>' ), } always produces "Item n°1" even if my store contains several items. Am I doing something wrong ? Note that you're using a Ext.List which fetchs data from a Ext.data.Store , not an Array, so XTemplate processes only 1 item at one time. That's why the {#} (also called xindex) always return 1. A suggest to work-around

Authentication on Sencha Touch and remote Server

梦想与她 提交于 2019-12-03 07:59:05
I would like to have your feedback regarding Authentication mechanism for an Application using PhoneGap and Sencha Touch and a Server in .NET with Active Directory. So we need to store User credentials on the Mobile Device so a User does not have to re-enter Login and Psw, every time he wish to use the application. 01 - IDEA - Cookies For my understanding Sencha Touch does not have directly any libraries for managing Cookies. In order to use cookies I should install "Sencha Ext Js" the base library for Sencha and using Ext.util.Cookies class. This library it should not be free. I'm afraid to

Instruct Sencha SDK tools to bundle other js files specified in app.json

拜拜、爱过 提交于 2019-12-03 06:17:13
问题 My app.json file of a Sencha touch 2 application contain. "js": [ { "path": "sdk/sencha-touch.js" }, {"path": "js/mootools-1.2.5-core.js"}, // I want these files to be bundled too {"path": "js/mootools-1.2.5.1-more.js"}, // <----------+ {"path": "js/soundmanager2-nodebug-jsmin.js"}, // <----+ ... // <----+ and there are more. ... { "path": "app.js", "bundle": true, /* Indicates that all class dependencies are concatenated into this file when build */ "update": "delta" }, Now I see when I

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

Sencha vs Ionic vs Jquery Mobile vs Appcelerator Titanium [closed]

跟風遠走 提交于 2019-12-03 03:25:34
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . 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 be helpful. is there