You are on page 1of 8

Android

History

Developed by Android Inc.

Android Inc was founded by Andi Rubin, Rich Miner, Nick Sears and
Chris White.

In July 2005 Google acquired Android Inc.


What is Android?
A software stack for mobile devices that includes:

1.Operating System

2. Middleware

3. Key Applications
Android Architecture
System Requirements
Supported Operating System

1. Windows XP(32 bit) or Vista (32 or 64 bit)


2. Mac OS X 10.5.8 or later (x86 only)
3. Linux (tested on Linux Ubuntu Hardy
Heron)

Supported Development Environments

1. Eclipse 3.4 0r 3.5


2. JDK 5 or JDK 6
3. Apache Ant 1.6.5 or Later for linux and Mac,
1.7 or later for Windows
HelloAndroid Program
package com.enlume.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid 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, Android");
       setContentView(tv);
}
}
An Activity is a single application entity that is used to perform actions. An application may
have many separate activities, but the user interacts with them one at a time.
Running the Application

From the eclipse menu select


Run → Run
A dialog box will appear in which select the Android Application and
then click OK.

Android Emulator will take time to run the application when it is


opening first time.
Deploying Android Applications

You might also like