Android Tutorial For Beginners
I have challenged my self to learn Android Development by my own very fast using Internet resources. I end up with installation and configuration of required software. Here is your first step to install Android SDK on windows machine. The most toughest part of the Android development is; where to start and how? To answer these questions I come up with step by step learning series of Android Development. Let’s start by installing required software.
Note Your firewall may don’t let Android virtual device emulator or eclipse plug-in to run the application properly. Configure the firewall to avoid errors while installing the application.
Below are the software you need to install on your machine.
- First make sure that you have JDK installed on your machine. Download JDK.
- Eclipse Classic version Link to download: Eclipse Classic version is recommended version for Android Development on Eclipse.
- Now, install Android Software Development Kit (Android SDK). Download Android SDK.
- As we are using Eclipse IDE for Android development we need to install ADT Plug-in for Eclipse. Download ADT plug-in.
- How to install ADT?
- Open Eclipse IDE=> Help=> Install new software.
Give the downloaded ADT file location. Don’t unzip the ADT package. Alternatively, you can give online location as https://dl-ssl.google.com/android/eclipse/
Note: Installation of ADT plug-in is quite tricky and may take very long time by providing web URL of it. I really don’t have any idea why it takes very long time to load by directly giving web URL.
Now, You are ready to develop your first most loved and widely used Hello, world application. But before moving further I would like you to go through basics of Android development. Follow below URL to learn some fundamental components of Android Systems.
URL:http://developer.android.com/guide/topics/fundamentals.html
How to create Android Virtual Device?
Eclipse => Window >> AVD Manager. or you can directly open it from Android SDK Tools.
From AVD Manager click on New to create new emulator of your choice.
Name it as the name of your application.
Select target framework and click on Create AVD.
Click on Start to start the emulator. Click on Launch.
Wait for some time to get it fully loaded with required stuff. Have some patience.
Eclipse will deploy your application on AVD emulator.
Android Hello world Example.
In Eclipse, Click on menu File => New => Project
If you have installed ADT plug-in for Eclipse, you will see Android project under Android folder. Click next and give name to your project.
Click on the newly created package found under src folder.
Modify the package to print your message.
package SatSony.Hello.Example;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class SatSonyHelloActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText("Hello, Satalaj. This is your first android application.");
setContentView(tv);
}
}
Click Run to get your program deployed on Android virtual device.

You can play with virtual device to get familiar with it.