set up phonegap / cordova environment in windows

CORDOVA APPLICATION


Cordova wraps your HTML/JavaScript app into a native container which can access the device functions of several platforms. These functions are exposed via a unified JavaScript API, allowing you to easily write one set of code to target nearly every phone or tablet on the market today and publish to their app stores.


CORDOVA INSTALLATION SETUP:


There below steps to fast set up on your windows environment.


1. Install node js from below link. 

https://nodejs.org/en/download/

after installation check node js is functioning or not using command prompt.










2. Install cordova using below command.








































3. Create project using command prompt:





Above path - C:\Users\Bhushan created project folder






















4. To check your current set of platforms:

     cordova platform ls


5. Install pre-requisites for building:

   cordova requirements android

6. Run the following command to build the project for all platforms:

    cordova build

You can optionally limit the scope of each build to specific platforms - 'ios' in this case:

   cordova build ios

Alternately, you can plug the handset into your computer and test the app directly:

   cordova run android


7. Useful command lines:



Comments

Popular posts from this blog

Angular 4 + Cordova Boilerplate ::: Hybrid Mobile Application

In MVC 4 Save and Retrieve cookies