Saturday, March 3, 2012

Getting Started Phonegap with Android eclipse

Here is the steps that I follow to start a phonegap using android eclipse.
Refer the below link to configure the android eclipse and Sdk setup on your computer.
http://wiki.phonegap.com/w/page/16494774/Getting-started-with-Android-PhoneGap-in-Eclipse


don't Forget to setup the environment variable for the java, android, SDK and ant-home.
My Computer-->properties-->advance parameters



in top section(User variable for Morgan)
set ANT_home to F:\android\apache-ant-1.8.2
set JAVA_HOME To c:\Program Files\Java\jdk1.6.0_23
ANDROID_HOME to F:\android\android-sdk-windows


in bottom(System variables)
add path= ;F:\android\apache-ant-1.8.2\bin and also append the SDK path like "D:\android-sdk-windows\tools".


After setup the eclipse and SDK setup,Download the latest version of the phonegap. follow the Below link to create new phonegap project in the Eclipse. 
http://phonegap.com/start#android


Cheers...