sencha-touch

Which framework is the best to develop a mobile application using database connection?

蓝咒 提交于 2019-11-27 18:12:06
问题 I developed a website using PHP5. Now, I want to sum up the main features of my website in a cross-platform mobile application. I did some research about frameworks which can do this. I found 'jQuery Mobile', 'SenchaTouch' and 'Cordova' which are the most popular. But I want to develop an application which needs to have a connection to a database and which is portable on iOS and Android (at least). I tried 'jQuery Mobile' but the application needs to be open in a web browser to display the

OPTIONS 405 (Method Not Allowed) regardless server sends Access-Control-Allow-Methods:OPTIONS, GET, HEAD, POST

馋奶兔 提交于 2019-11-27 16:20:09
问题 I'm trying to make cross-domain request and my server is configured to send the following headers: Access-Control-Allow-Credentials:true Access-Control-Allow-Headers:x-requested-with, Authorization Access-Control-Allow-Methods:OPTIONS, GET, HEAD, POST Access-Control-Allow-Origin:* But when an OPTION request is made, I get OPTIONS 405 (Method Not Allowed) error. Any Ideas what is the problem and how to fix it? 回答1: I would suggest 2 solutions: 1) If you are using WebAPI you need to implement

How to listen for keyboard open/close in Javascript/Sencha?

和自甴很熟 提交于 2019-11-27 16:14:30
问题 I have a HTML5/Javascript (Sencha) app that I have packed into PhoneGap for iOS in XCode. One way or another, I want to be able to listen for the keyboard open/close events and do something accordingly. Is there any way to do this? 回答1: Keyboard will be automatically invoked while you are focusing textfield, textareafield ... . So you can create listener to the focus event in javascript which is similar to listening to the keyboard open event. Also you can use the blur listener to handle the

iOS9 ATS: what about HTML5 based apps?

早过忘川 提交于 2019-11-27 11:22:30
According to the documentation from https://developer.apple.com/library/content/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-SW14 , Apple forces to use HTTPS over HTTP in iOS 9. App Transport Security App Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should adopt ATS as soon as possible, regardless of whether you’re creating a new app or updating an existing

Sencha Touch Vs JQTouch

↘锁芯ラ 提交于 2019-11-27 09:40:12
问题 My startup and I are deciding which mobile touch framework to use to build our mobile web application. I'm having trouble figuring out the difference between Sencha Touch and JQTouch. I understand that both products licensed by Sencha and that Sencha Touch requires a paid license to use it commercially. Besides legal and financial issues, what are the differences, pros and cons between both frameworks. Thanks. 回答1: Sencha touch is a little more complicated for those used to web design to use,

Use a web mobile framework?

风流意气都作罢 提交于 2019-11-27 06:56:14
I'm currently on a new projet to realize an application for mobile. The client isn't decided and I've to suggest several solutions. The compatibility with Android (version 2.2+) is required and iOS and others OS could be nice. We can only develop for Android but I thought to use a web mobile framework. As I never used them, I started to looking for the existing solutions. I has heard of PhoneGap, Titanium, Sencha Touch and jQuery Mobile. Here is possibilities that I found : PhoneGap + Sencha Touch PhoneGap + jQuery Mobile (or an equivalent) Sencha Touch (API + UI) Titanium The critical point

Registry key Error: Java version has value '1.8', but '1.7' is required

狂风中的少年 提交于 2019-11-27 06:28:37
While running sencha app build production I am getting the following error: Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required. Error: could not find java.dll Error: Could not find Java SE Runtime Environment. java -version , command is showing following: java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b26) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) Not able to find where path is going wrong. Any idea? ----------------------- EDIT ------------------------------------------------

Need Help In Sencah Touch 2 Search List

孤人 提交于 2019-11-27 06:27:41
问题 i have problem achieving the exact result i want in building a sencha Search List, i managed to build just a list but the actual result i want is just something like this http://docs.sencha.com/touch/2-0/#!/example/search-list i have followed the example to build something similar, but my serach is not working, hope somebody can give me a detailed answer on how to achive this. below are my codes from my controller to the last. this is my controller Ext.define('List.controller.Main', { extend:

How to make for loop wait until Async call was successful before to continue

一笑奈何 提交于 2019-11-27 06:24:50
问题 Hi i am creating a batch update for my local store using for loop and async ajax call. My problem is that my loop continues even though my ajax call still not yet successfully finished. How can we manage to make for loop wait unit the response of the ajax response before continuing the loop? Any help is appreciated. Thanks!!! Below is my sample code: var counter =0; var totalRow = 3000; for (var i = 0, l = totalRow; counter <= l; i++) { var defectssurl = 'https://test.com/mywcf.svc

What is the proper way to load an external javascript in Sencha Touch 2

对着背影说爱祢 提交于 2019-11-27 01:53:31
问题 In my development I need to include third part javascripts; like money.js (http://josscrowcroft.github.com/money.js/) What is the best 'clean'/'proper' way to achieve it ? Just include it in index.html ? 回答1: No. Don't directly add the additional javascript files in the index.html file. That is not the recommended way ( though it may work ). Instead, do like this, Include the following line in your index.html . microloader is the folder that is shipped with sencha sdk and contains three files