sencha-touch

sencha touch i18n basics

折月煮酒 提交于 2019-12-03 13:37:39
How is i18n handled within Sencha touch? (I am talking of localization support for strings, but also of localized components) A more specific question: I have a form that contains a date picker, how do I make sure that the date will be displayed and picked in european format when I access the application using a french android phone? Cheers There isn't an official API for i18n in SenchaTouch, yet. Although in Ext 4 there are localization files for all components in the /locale folder. There is an old tutorial that indicates a way, by dynamically in setting the src attribute of a script tag

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

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: [

jQuery Mobile Vs Sencha Touch [closed]

*爱你&永不变心* 提交于 2019-12-03 10:18:44
I am planning to create a mobile or rather a tablet version of my existing web app. The devices supported would be iPad, Xoom (android). I am not sure which JS library to use jQuery Mobile Vs Sencha Touch My page would contain srandard componenrs like carousel, tab bars, etc How should I decide which library to go for ? As of now, I am comfortable with jQuery syntax..so that is inclining me to think towards jQuery mobile. But guess that would be a wrong way to shortlist the JS library.. Please provide as much suggestions as you can. Sencha Touch is the most obvious option here, jQuery Mobile

Change color of Sencha Touch Ext.TabPanel

穿精又带淫゛_ 提交于 2019-12-03 09:32:24
new Ext.TabPanel({ fullscreen: true, cardSwitchAnimation: 'slide', ui: 'dark', items: [home, about] }); For the ui , can I specify like, a color instead of dark and light? How can I make it a specific color or background image of our choice? Thanks. What you need to do is to define a new ui type using SASS and COMPASS. So, you have to be familiar with these frameworks. If you already install these, and you already know how to create you application theme CSS, then you can add the following line to your theme .sass file to define a custom ui @include sencha-tabbar-ui('myUI', $tabs-myUI, $tabs

iPad Home Screen App refreshes on every open

天涯浪子 提交于 2019-12-03 08:52:25
问题 I'm writing a web app for the iPad using HTML5 and SenchaTouch. The app uses cache manifest to function offline. Once it has been added in the home screen and opened without Safari, it will refresh itself every time it is opened, even if just navigating to the home screen and back. The desired behavior is to leave the app, do something else, and then come back to the app with everything untouched. An example of a similar app that displays the same (undesired) behavior can be found here: http:

Fire 'tel' link from button in Sencha Touch

守給你的承諾、 提交于 2019-12-03 08:46:37
I have an ActionSheet which is shown when a user taps on a list item. In the ActionSheet are three buttons - one to remove the contact, one to make a call to them and one to dismiss the ActionSheet. My question is, how do I bind the equivalent of a <a href="tel:000000000"></a> to the button? I need to specify the 'tel:' protocol so that iOS and Android will force the Phone application to load with this number? It's pretty simple, All you have to do is change the document's location (window element) in the button's handler: var tapHandler = function(button, event){ Ext.Msg.confirm('External

Sencha Touch vs. jQtouch vs. GWT mobile vs. XUI vs. jQuery Mobile vs. [closed]

浪子不回头ぞ 提交于 2019-12-03 06:02:29
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. Hey, there are some posts out there discussing mainly Sencha Touch and jQtouch. I understand that Sencha is more for heavy apps. Read here: http://9-bits.com/post/723711597/jqtouch-and-sencha-touch But what about GWT mobile vs. XUI vs. jQuery Mobile? Anyone

Sencha Touch开发一些需要注意的地方

喜欢而已 提交于 2019-12-03 05:06:50
Sencha Touch开发一些需要注意的问题 如今Sencha Touch已经升级到2.4了,功能更加强大,性能也有所提升。 但由于一些功能的改进,文档并没有及时更新,导致开发时会遇到一些困难。 结合我使用的经验总结一些需要注意的地方,希望能帮助大家。 ------------------- Sencha Touch的开发流程 下载SDK,安装Sencha Cmd。 创建项目: sencha generate app MyApp ../test 打包项目(压缩,便于部署) sencha app build 由cmd生成的项目会自动加载类库文件,文件太多,导致等待时间过长, 可以直接引入resources/css/sencha.css和sencha_touch_all.js来提高速度, 但打包时需要还原,否则会出错 根目录下的app.js是程序的入口文件,代码如下所示: Ext.application({ name: 'MyApp', //The name is used to create a single global namespace for your entire app requires: [ 'Ext.MessageBox', 'Ext.navigation.View', 'Ext.dataview.List', 'Ext.plugin.PullRefresh',

Best available guide to Sencha?

大憨熊 提交于 2019-12-03 05:01:02
问题 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 with a link....... thank you, 回答1: Here is everything I have found useful over the last few weeks whilst I have been learning Sencha Touch, hope they help: 1) A number of videos