Ajax HTTPs Reuqest in iOS UIWebview

Using Ajax to GET and POST data is general choice when we are developing hybrid applications. In my latest project, I am using cordova (phonegap) to build an iOS app with HTML5, javascript and css. In this app, all conmunication in this app will use AJAX. This approach will extremely increase the project development speed. To enhence the safety, we are using HTTPs when we are using Ajax to get and post data in our mobile apps. With AJAX, we can develop the HTML project in HTMl browsers like Chrome, Safari or Firefox. After we finish the project, we can easily deploy the whole project in iOS and Android with cordova (phonegap).
Read more

Set UIWebView Content not to Scroll When Keyboard is Shown

This week, I have met a problem when I am developing a hybrid app with Cordova (Phonegap). The Cordova app is basing on UIWebView. So the whole app is build by HTML5, Javascript and CSS. Usually, UIWebView will scroll up when keyboard is shown if we click an input field or textfield focus. Therefore, all content in the UIWebView is pushing up. In most of the case, this behavior is correct. However, in my case, it becomes to be a problem. And I have to prevent UIWebView to scroll when keyboard appears.
Read more

Build Android App and IOS App with Backbone and Cordova

Most of the companies wanna to create both Android app and iOS app to cover all mobile device visitors. To save effort and time, many companies try to choose hybrid development which can create cross platform apps. The ideal result is coding once and running anywhere. Currently, there are several frameworks to help people create cross platform app, such as Cordova, Adobe Air, IONIC. The best advantage of hybrid development is that we can use HTML5, CSS and Javascript to build the native app for Android device, iOS device, Windows device, etc. Of course, not every framework use HTML and Javascript to implement the cross-platform.
Read more

Create a Simple IOS App with PhoneGap (Cordova)

As the project requirement, I will start to use PhoneGap to create a IOS app from scratch. This is my first time to use PhoneGap. Here is my understand about PhoneGap. First, PhoneGap is officially renamed as Apache Cordova. It is a framework to help you create IOS app, Android app, or even Windows Phone app from HTML5 and Javascript. For people who knows HTML5 and Javascript, this is a great tool to help to create native apps from HTML and JS. In this article, I will tell you how to create an IOS app by PhoneGap (Cordova) from beginning.

Read more