Mon 25 2012
![Image](https://storage.googleapis.com/stateless-torbjorn-zetterlund/sites/8/2019/12/8d99b9c4-20180626_110146.jpg)
How to setup a development environment to develop Andorid apps with Phonegap on Eclipse
by bernt & torsten
This is a guide on how to get started developing Android application using Phonegap with Eclipse.
- Download Android SDK
- Download Eclipse Helios or Eclipse Indigo – Indigo Eclipse Classic or Eclipse IDE for Java Developers is recommended
- Download ADT plugin
- Configure ADT Plugin to define SDK location and set up an AVD
- Install the MDS AppLaud for PhoneGap
- Install MDS AppLaud 1.2 Phonegap for Android plug-in
- From Eclipse ADT, Select Help -> Install New Software
- Click Add to enter a new Repository site
- The Name field is optional, “MDS AppLaud 1.2” suggested
- In Location, enter the download site: http://svn.codespot.com/a/eclipselabs.org/mobile-web-development-with-phonegap/tags/r1.2/download
- Select OK
- Select the New Site and Check the box to the left of PhoneGap for Android
- Click Finish and Follow the prompts
- Set the Android SDK Location (Note: Recent version of ADT will do this automatically)
- Window -> Preferences -> Android and set path to your SDK
- Note that on Mac it is Eclipse -> Preferences -> Android
- Window -> Preferences -> AVD Manager to set up an AVD if you want the simulator
- More at http://developer.android.com/sdk/index.html
- Note: The Android SDK Location is workspace specific. If you start using a new workspace, repeat this step to re-set the Android SDK Location.
- Download the Eclipse Web Page Editor (if necessary)
- If your Eclipse installation doesn’t yet include a web page editor for html files
- Will be necessary if you have a brand new Eclipse Classic or Eclipse for Java
- Install New Software -> Work with: Indigo (or Helios) ->Web, XML Java EE, and OSGi Enterprise Development -> Web Page Editor
- Optionally adjust the Eclipse JavaScript Validation rules
- Eclipse -> Preferences -> JavaScript -> Validator -> Errors Warnings
- If you select Enable JavaScript semantic validation, adjust the settings below as you like
- Alternatively or in addition, see the instructions in the tutorial link below for using JSLint.
- Create a PhoneGap for Android project
- The first tutorial in the Two Minute Tutorials series, TMT0 Primer Tutorial, provides details on creating, editing, JSLint-ing and running your Android App
- We are always adding to the List of Two Minute Tutorials
You can now start developing your Android apps!
![Image](https://storage.googleapis.com/stateless-torbjorn-zetterlund/sites/8/2024/06/20240604-102648.png)
The AI boom – a ticking energy bomb
Yes, the rise of artificial intelligence indeed presents a conundrum, not unlike the many...
![Image](https://storage.googleapis.com/stateless-torbjorn-zetterlund/sites/8/2023/11/totta7219_this_is_about_In_the_realm_of_creative_endeavour.png)
Three Ideas To Keep Your Construction Business Running Smoothly
If your construction business is currently struggling, then you need to work out how to get...
![Image](https://storage.googleapis.com/stateless-torbjorn-zetterlund/sites/8/2024/01/20240116-085856.png)
Business vs. GPTs: Navigating the Challenges of Personalized AI
The recent proclamation by OpenAI has caught the attention of $20 ChatGPT Plus subscribers,...