Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Convert JavaScript apps into native mobile applications

Tuesday, April 19th, 2011 by Servage

In the previous article I discussed the possibility to develop native feeling apps with web technologies like HTML5, CSS3 and JavaScript. Today I will show you how to take this one step further, to create real native apps based on your web app, which you might have created for example with Sencha Touch.

Now, I maintain my opinion that general technologies are to be preferred, and used to deploy on multiple platforms. Generally I am not a fan of developing custom apps for various platforms. It seems like doing the same thing over and over again. However, some functionality requires that you interact with the user device natively. You Sencha Touch app works great as long as you stay within your app, or other specified APIs, like Geolocation in browsers. But what do you do if you wish to interact with the user’s address book on the phone? In that case you might need access to the phones native APIs, which most likely requires a native application.

I am glad to see PhoneGap in the picture, trying to help out in this area. PhoneGap is a open source framework which supports multiple mobile platforms, and let you convert your HTML5, CSS3 and JavaScript app into a native app for those particular platforms, like iOS and Android. Furthermore it acts as a wrapper, providing access to native APIs via JavaScript objects. Thereby you can actually create your web-based application, and still get access to device-specific functionality and data. Great!

Check it out on phonegap.com

Convert JavaScript apps into native mobile applications, 3.7 out of 5 based on 3 ratings
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 comments (leave a comment)

Thanks for post

Truly agree with you that Native mobile application is published through the major application stores and developed for a specific mobile platform and native Smartphone application resides locally on the device and is published through the major application stores. While Web-based mobile application is a cross-platform and fully accessible via mobile browsers and web site that has been designed appropriately to fit size, performance, and appearance of a mobile device, thanks a lot.

Leave a comment

You must be logged in to post a comment.