Saturday, 28 September 2013

How to Develop Your First Android App

Android beginner friends to develop your " First Android App” you need to follow below steps

Step 1: Open Eclipse IDE.

Step 2: Go to Menu Bar select File -> New -> (Click on)Project  a new popup window will come

Step 3: Select Android Application Project and click on "Next" button then New Android App popup will come as below screen. Now fill up "Application Name" "Project Name" and "Package Name" for that use Java naming convention means first letter of each word start with capital letter  like "MyFirstApp" .

Step 4: Follow below screen then click on Next button then will come new popup window again click on Next button.

Step 4: Now follow below screen and fill up "Activity Name" "Layout name(layout name shoul be in small letter and keep under score symbol between two words like "my_first_app")" and "Title(can write 2 to 3 words)" now click on "Finish"  button.

Step 5: Now you can modify "xml" editor like below using drag and drop  widgets features of this framework. 

Step 6: After modifying "xml" editor launch your AVD(Android Virtual Device)

Step 7: To run your First Android App right click on your project and click on "Run As-->1 Android Application " or select your project and press " F11" to run your App. 

For live watch below video to develop your "First Android App". Need latest Adobe Flash Player to watch this video


<LinearLayout xmlns:android=""

        android:text="This is my first app." />

        android:text="Button" />

        android:text="CheckBox" />

        android:text="RadioButton" />


package com.example.myfirstapp;

import android.os.Bundle;

public class MyFirstAppActivity extends Activity {

    public void onCreate(Bundle savedInstanceState) {



<manifest xmlns:android=""
    android:versionName="1.0" >

        android:targetSdkVersion="15" />

        android:theme="@style/AppTheme" >
            android:label="@string/title_activity_my_first_app" >
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />




    <string name="app_name">MyFirstApp</string>
    <string name="hello_world">Hello world!</string>
    <string name="menu_settings">Settings</string>
    <string name="title_activity_my_first_app">My First App</string>