Thursday, January 24, 2013

Starting Android Development

The android operating system is currently the most popular mobile operating system, like I stated before. Android development is really important for programmers and software engineers. I will show how to set up your computer so you could start developing your android application.

1. JDK and the Eclipse IDE 

You will first need to download the Eclipse IDE, which is similar to the program java this is where you program the android software. JDK stands for java development kit which is required to actually use Eclipse.

Download Eclipse: http://www.eclipse.org/downloads/
Download the software that deals with the JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. The Android SDK 

The Android SDK gives you the toolkit you need to start programming. When you run your application to test it, the SDK includes an emulator of an Android phone. This emulator emulates the android experience.

This is the link to download the SDK:  http://developer.android.com/sdk/index.html
Run the SDK and click on all the checkboxes. For each API, SDK platform is required which will download as you SDK sets up on eclipse.

You will have to create a directory on Eclipse so you can actually use it. All you have to do it is go to Eclipse Window and then on preferences. The rest will be set up for you. 


3. The Eclipse ADT plugin: 

All you have to do is go to Eclipse, then click help and then hit Install New Software. You will notice that there is textfield; there you have to paste this link: https://dl-ssl.google.com/android/eclipse/ and then click OK. You will notice that four buttons have been installed on this application. They should look like this: 
  
4. The Android Emulator

The Android emulator is included in the SDK. You can start the Android emulator by just hitting the Android Virtual Device Manager button. Once you have hit the button you will notice that there is a list of the versions of the Android OS (Operating System). Just click on the most recent one and hit the New button.

5. Creating the project 

When you create a project which means create an application. All you have to do is go to select file then to New to Project and to Android Application Project.


You must select the "Build SDK" and "Minimum Required SDK" which means all the operating systems that can run on the phone.


After that right click your project and select the one that says Run. Your project will run on that emulator. 

No comments:

Post a Comment