Browse By

Phonegap:What it is and How to install

PhoneGap-Mobile-app-development

 

 

PhoneGap is a mobile development framework produced by Nitobi, purchased by Adobe Systems in 2011. It enables software programmers to build applications for mobile devices using JavaScript, HTML5, and CSS3, instead of device-specific languages such as Objective-C or Java.  It enables wrapping up of HTML , CSS and Javascript code depending upon the platform of the device.It extends the features of HTML and Javascript to work with the device . The resulting applications are hybrid, meaning that they are neither truly native (because all layout rendering is done via web views instead of the platform’s native UI framework) nor purely web-based (because they are not just web apps, but are packaged as apps for distribution and have access to native device APIs). From version 1.9 onward it is even possible to freely mix native and hybrid code snippets.

The software underlying PhoneGap is Apache Cordova. The software was previously called just “PhoneGap”, then “Apache Callback”. Apache Cordova is open source software.

To Be Noted:

To add support or rebuild a project for any platform, you need to run the command-line interface from the same machine that supports the platform’s SDK. The CLI supports the following combinations:

  1. iOS (Mac)
  2. Amazon Fire OS (Mac, Linux, Windows)
  3. Android (Mac, Linux, Windows)
  4. BlackBerry 10 (Mac, Linux, Windows)
  5. Windows Phone 7 (Windows)
  6. Windows Phone 8 (Windows)
  7. Windows 8 (Windows)
  8. Firefox OS (Mac, Linux, Windows)
  9. On the Mac, the command-line is available via the Terminal application. On the PC, it’s available as Command Prompt under Accessories.

Installation Using Terminal/Cmd:

1. To Install, ensure that you have NodeJS installed, then open your commandline and run the following:

$ sudo npm install -g phonegap

2. Using Phonegap

 

$ phonegap create my-app
$ cd my-app
$ phonegap run android

Catch Him On

Harsh Songra

Chief Editor and Founder at The Time Ahead
He is the Chief Editor and Founder of The Time Ahead

Age 18, A nerd , A geek, Techno Savy, Web Designer and a god programmer.

He is a developer and has his apps on Google Play. Here he will provide you with his views on the latest news about the world of technology, business and science. He will also provide you with some how-to-do’s and walkthrough’s.
Catch Him On

Latest posts by Harsh Songra (see all)