Tag Archives: Eclipse

A Starter’s Guide to the Android SDK (on Linux)

It’s fairly easy to setup and install the Android SDK on Linux. For starters, the fact that you don’t need a Mac, and that it’s freely available really helps. The Android developers website is very resourceful and has a lot of information and step-by-step guides to have the SDK setup and ready in no time. Chances are, you won’t have to look at any other websites for this purpose.

Things You’ll Need

1. Make sure your system meets the system requirements (it’s a few hundred MBs of hard drive storage).

http://developer.android.com/sdk/requirements.html

2. The SDK Starter Package

http://developer.android.com/sdk/index.html

3. ADT Plug-in for Eclipse (if developing in Eclipse). Requires Eclipse 3.5 (Galileo) or greater.

http://www.eclipse.org/downloads/

If not developing in Eclipse, you can use other IDEs like Apache Ant 8.1 or greater (http://ant.apache.org/) or JDK 5 or JDK 6 (http://www.oracle.com/technetwork/java/javase/downloads/index.html)

Installing the SDK

Firstly, the downloaded file must be unzipped.

Zip file Type ‘unzip filename.zip’ in the terminal

.tgz file Type ‘tar zxf filename.tgz’ in the terminal

Once all the files are extracted, eclipse is ready to be used. Typing in ‘eclipse’ in the terminal should start the IDE.

Installing the ADT (Android Development Toolkit) to Eclipse

Follow this link for a step-by-step guide to adding the ADT Plug-in to Eclipse.

http://developer.android.com/sdk/eclipse-adt.html#installing

Install Android Platforms, APIs and other recommended tools

Once the ADT is installed, you can launch the Android Manager from Eclipse.

Open Eclipse

Select Window > Android SDK and AVD Manager.

Select the required components from the Android SDK Manager and it will install the required components for you.

That’s it! You’re ready to start developing your own Android Applications.

 

 

Get your Java code automatically checked against Anti-patterns

What could be better than good and clean Java code written following Anti-patterns recommendations?

Only code which is automatically check and every anti-pattern piece of code is flagged. It is incredibly easy to achieve just by adding a Eclipse plug-in to your IDE, assuming of course that Eclipse is your development platform.