Cagdas Basaraner

About Cagdas Basaraner

Cagdas Basaraner is a software engineer graduated from Hacettepe University Computer Engineering department (Turkey), having 5 years professional experience. He is working on JEE web technologies, and also a former developer of information systems using Microsoft technologies and Command & Control (C4I) systems with Java technologies.

Start Android Development in 5 Minutes

Android OS is the most popular mobile OS nowadays (leading market with %46.9 above iOS’s %18.8). Besides, globally over %20 of computers are mobile devices. So, over %10 of people in the world uses Android OS and softwares related with it. For this reason, Android application development is a very important issue for developers and software engineers.This post will describe a fast (5 minutes, excluding tool download periods) and simple startup of an android project on Eclipse IDE, for developers who deal with the matter.

1. JDK and Eclipse IDE:

Download and install appropriate JDK for your computer and OS (JDK 6 or 7 are preferred)
Download latest Eclipse distribution, unzip it to your computer.

2. Android SDK:

Download and install android SDK:
Run Android SDK and install some API (e.g. 8, 14, 16, …). Android distributions have various APIs and your application API must be compatible with your device. This step may also be performed using Eclipse ADT plug-in Android toolbar buttons. For each API, ‘SDK Platform’ is required. ‘SDK Tools’ and ‘SDK Platform Tools’ under ‘Tools’ menu and ‘Android Support Library’ under ‘Extras’ menu should be installed for general usage.

Don’t forget to set your Android SDK directory on Eclipse Window –> Preferences:

3. Eclipse ADT Plugin:

Start Eclipse. Click Help –> Install New Software, paste adress below and click OK:

Select ‘Android Development Tools’ from ‘Developer Tools’, click ‘Next’ various times and finish installation.
You will see Android SDK (which performs installing different APIs as told in step 2) and Android emulator buttons on the top panel. You can also start Android projects from now on.

4. Android Emulator:

Android SDK includes a useful emulator for testing. After installing ADT plug-in, you can start emulator by ‘Android Virtual Device Manageer’ button from toolbar. After that you may add one or more android devices with different API and system configurations.

You can have detailed info about emulator usage and command line parameters here:

5. Creating Project:

Select File –> New –> Project –> Android Application Project. You can also start an Android Sample Project for exercising.

You must select ‘Build SDK’ and ‘Minimum Required SDK’ while creating project.

After that right click your project and select ‘Run’. Your project will run on selected emulator.

After this short and simple start, you may want to look at these:

Don’t forget to share!

Reference: Start Android Development in 5 Minutes from our JCG partner Cagdas Basaraner at the CodeBuild blog.

Related Whitepaper:

Rapid Android Development: Build Rich, Sensor-Based Applications with Processing

Create mobile apps for Android phones and tablets faster and more easily than you ever imagined

Use 'Processing', the free, award-winning, graphics-savvy language and development environment, to work with the touchscreens, hardware sensors, cameras, network transceivers, and other devices and software in the latest Android phones and tablets.

Get it Now!  

Leave a Reply

7 − = one

Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.

Sign up for our Newsletter

20,709 insiders are already enjoying weekly updates and complimentary whitepapers! Join them now to gain exclusive access to the latest news in the Java world, as well as insights about Android, Scala, Groovy and other related technologies.

As an extra bonus, by joining you will get our brand new e-books, published by Java Code Geeks and their JCG partners for your reading pleasure! Enter your info and stay on top of things,

  • Fresh trends
  • Cases and examples
  • Research and insights
  • Two complimentary e-books