Tutorial details

Start Android Development in 5 Minutes | App Code for Sale | Preview

Start Android Development in 5 Minutes | Android Tutorial

How to start an Android Project in 5 Minutes

Overview PAGE TOP

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: PAGE TOP

Download and install appropriate JDK for your computer and OS (JDK 6 or 7 are preferred) http://www.oracle.com/technetwork/java/javase/downloads/index.html Download latest Eclipse distribution, unzip it to your computer. http://www.eclipse.org/downloads/

2. Android SDK: PAGE TOP

Download and install android SDK: http://developer.android.com/sdk/index.html 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.

1.PNG

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

2.PNG

3. Eclipse ADT Plugin: PAGE TOP

Start Eclipse. Click Help –> Install New Software, paste adress below and click OK: https://dl-ssl.google.com/android/eclipse/

3.PNG

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.PNG

4. Android Emulator: PAGE TOP

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.

5.PNG

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

http://developer.android.com/tools/help/emulator.html

5. Creating Project: PAGE TOP

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

6.PNG

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

7.PNG

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:

http://developer.android.com/training/basics/firstapp/index.html http://www.vogella.com/articles/Android/article.html

http://www.coreservlets.com/android-tutorial/ http://java.dzone.com/articles/10-attractive-android

http://www.javacodegeeks.com/2010/10/android-full-application-tutorial.html

Don’t forget to share!

Reference PAGE TOP

http://www.javacodegeeks.com/2012/10/start-android-development-in-5-minutes.html

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.