Thursday, October 23, 2008

Installing the Android Eclipse Plug-In :

I like graphical user interfaces (GUIs), provided they have hotkeys like the 

Eclipse IDE, when working with Android. To get more than basic 
functionally out of the process, you’ll need to download the Android 
Developer Tools. To install it from within Eclipse, follow the directions outlined by Google.

http://code.google.com/android/intro/installing.html#installingplugin

If you’ve already installed the older version of the SDK and the Eclipse 

plug-in, I recommend you go back and update it to M5-RC15 (or the latest 
version) now using the previously mentioned links. Enough has changed 
between the older version and the latest that the changing details could be 
confusing. If you correctly follow the directions but get an error when 
trying to install the Android editors, go back and install the full version of 
Java EE Eclipse. The basic Java SDK doesn’t include all the correct packages used by the Android plug-in. 

Don’t forget to point the Android plug-in to where you unpacked your copy of the SDK. It’ll be in Windows/Preferences/Android on the Android tab. 

Create a new project by selecting File h New h Android Project. Give the 
project and activity a pithy name of your choosing. You’ll also have to 
insert into your source package name at least one dot (.), such as apress. 
book.sample or crazy.flyingmonkey.application. 

New Session Android JAVA : 

Getting the Android SDK :

You can find the Android SDK on Google’s website at 

http://code.google.com/android/download.html

Grab it, download it somewhere handy, and then unpack it.

I’ve put mine in my Development folder at /Developer/AndroidSDK. 

You can just as easily put the ZIP file anywhere on your filesystem.

Just remember where you’ve stashed it, because you’ll need to tell Eclipse where it is later.

It’s also a good idea, if you’re a Windows or Linux user, 

to add the location of the Android tools to your Path variable.