HTML5 mobile app development PhoneGap

Today there are many ways to build applications that run on a mobile phone. The obvious approach is to build an app for each mobile platform like iOS and Android using their native development environments. With the HTML5 getting more powerful than before it has now become possible to build feature rich apps on the web, and by extension on the mobile as well. Due to fragmentation of the mobile market into iOS, Android, Windows, Blackberry and many others, developers are faced with the task of building apps for multiple platforms. This could be a costly and time consuming exercise. HTML5 potential addresses this issue since it is the internet standard and compatible with all platforms. But to take HTML5 and other related web technologies and create a platform around it that will help developers create mobile apps to run on multiple platforms by coding just once would be a huge benefit.

What is PhoneGap/Cordova?

Phonegap is framework that allows fast cross platform mobile application development using web technologies like HTML, CSS and JavaScript, instead of using any platform specific technologies. The apps developed in PhoneGap are hybrid in nature i.e. they are built on web technologies but run as native apps.

Why PhoneGap/Cordova?

Every major mobile operating system uses a different language at its core.

Android- Java
iOS- Objective C
Windows- C, C++, C#
BlackBerry- JavaME

Now, if a person is developing an app and targeting these 4 most platforms, he/she must code the same app in platform specific language. But in PhoneGap, the core code is written in javascript and front-end layout is done with HTML and CSS. This core code can then be used on all platforms supported by PhoneGap to create apps for iOS, Android, Windows etc.

At present the platform supported by PhoneGap/Cordova are:

  • Android
  • iOS
  • Windows
  • BlackBerry
  • Ubuntu Touch
  • Bada
  • Symbian
  • WebOS
  • Tizen

You might also like

HTML5 is the current HTML standard  — WhaTech
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.