Let's Chat

Developing Android Applications With Eclipse – Part 2

In the previous article, I gave you an introduction about Android platform and also gave you an idea about developing Android apps with Eclipse. In this article I will discuss with you some steps required in installing Eclipse with Android Development Toolkit (ADT) plug-in for developing android applications.

  1. Based on your platform, Mac OS X, Windows or Linux, firstly, you should download the Android Software Development Kit or SDK.
  2. You should then extract the downloaded file to a memorable location on your hard drive.
  3. If Eclipse is not installed before hand, then download the Eclipse IDE for Java Developers package and install it. Google recommends Eclipse 3.5 to Android apps developers for programming
  4. Run Eclipse and select Help—> Install New Software
  5. You will get a ‘Available Software’ window and also an option called ‘Add’. Click on ADD.
  6. In the Name field you should specify Android app Development Tools and in the Location field enter this dl-ssl.google. com/android/eclipse/.
  7. After clicking OK, you can find Developer Tools listed in the Available Software list. This leads to the installation of Android Development Tools as well as DDMS, which is Android’s debugging tool.
  8. To complete the installation process of the plugin click on Next and Finish. After everything is installed, restart Eclipse.
  9. On restart of Eclipse, select Window–> Preferences. You will find Android in the categories list.
  10. Eclipse should now be informed about the location of Android SDK. For this click the option Android that appears on the left hand side of the window and then click on Browse which lets you select the location on the hard drive where the SDK files have been stored.
  11. Then Click OK so that Eclipse can save this location.

The Android Open Source Project platforms are open source. However, Google’s proprietary extensions such as Google Maps are not included on it. If you decide not to use Google APIs then you cannot use Google’s mapping functionality in your application. You should target one of the Google platforms as it will help you to utilize Google’s proprietary extensions.

  • Select Window->Android SDK and AVD Manager.
  • Click Available Packages present on the left side and look at the repository which shows the list of the available Android platforms.
  • You can select the platforms you want to download from the list or keep everything checked to download all the available platforms. After you’re done selecting, click on Install Selected and follow the installation instructions.

After completing all downloads you can start developing the application.

Beginning a New Android Project

You can use Eclipse’s New Project Wizard to create a new application for Android. It generates files and codes that are ready to run. It serves as a good starting point to develop your application.

  • Select File->New->Project…
  • Choose Android Project
  • In the New Project dialog, enter the required settings.

Once you click on Finish, Eclipse will create a new Android project that you can run instantly. I will give more additional information about it in the next article.

Source by Jenifer Chunch Wong

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x