PhoneGap

follow the below steps to quickly setup development environment for phonegap in windows :


1-      Download phonegap and extract to a folder in your computer
2-      Download ant if u don’t have that installed in your system and extract to a folder in your                                                                                        computer.
3-      You must have had java installed  and eclipse for android in your computer.
4-      Now setup environment variables as below:
a-first locat bin in your java folder in your C:/ DRIVE  and go to my computer>properties>advanced system settings>advanced tab>environment variables
here set within user variables as
new>JAVA_HOME(WRITE IN FIRST BOX) PASTE THE BIN DIRECTORY PATH OF JAVA IN THE SECOND EMPTY BOX and click ok.thats it .

5-      Similarly locate bin directory of ant and copy the path into system variable as:
Locate path variable in system variables and click edit, paste the path of ant bin directory after a semicolon at the end of existing text.

6-      Similarly add the path of Android skd>tools to the system variable while following the procedure


Now open your terminal window :
Run>type in “cmd” >hit enter
Write the following commands :
Change the directory to your extracted phonegap files>lib >android>bin> create <type your package name up to you > <space> <name of your application> hit enter
Now you are ready to build apps using phonegap in your windows environment.

 



Comments

Popular posts from this blog