Anda di halaman 1dari 22

Presented By: SHUBHAM JAIN

CONTENT
Android
Android Versions Eclipse

Creating Application
Android Virtual Device

INTRODUCTION
Android: Introduced and Maintained by Google. Different version for phones and Tablets. PC like features. Dalvin virtual machine. Open Source Framework. 3rd Party Application. GPS

FEATURES OF ANDROID
A simple and powerful SDK. No licensing, distribution, or development fees. Development over many platform.

Linux, Mac OS, windows.


Excellent documentation. Thriving developer online community.

ANDROID VERSION TILL NOW

1.6 Donot

2.1 clair

2.2 Froyo

2.3 Ginger-Bread

3.0 Honey-Comb

4.0 Ice-Cream Sandwich

Requirements For Running The Application


Eclipse Platform

Emulator

Android Application

Android Developer Tools

Source Code

INSTALLING ECLIPSE FOR ANDROID


Download Eclipse IDE for Java Developers at

http://www.eclipse.org/downloads/. Its about 92 MB. Extract the zip file into a folder for example D:\ANDROID after downloaded. Run D:\ANDROID\eclipse\eclipse.exe. now just create new folder WORKSPACE in D:\ANDROID Download Android SDK.

CONNECTING ECLIPSE AND ANDROID SDK


On eclipse GUI, select Windows --> Preferences menu on top. select

android and then locate your SDK Location, On eclipse GUI, select Help --> Software Updates. At the end you will need to run plugins installation, just follow the step on interface.

CREATING A TWO BUTTON APP


Project Name

Specify WorkSpace Location


Application Name Select Android Version Package Name

SDK Version

PACKAGE EXPLORER
Code Auto-generated resource list

Files/Library

UI Layout

Icon or Other Images

Constants

MAIN.XML

<Button android:id="@+id/buttonStart" android:layout_width="fill_ parent" android:layout_height="wrap_ content" android:text="Start"/>

<TextView android:layout_width="fill_parent" android:layout_height="wrap_conten t" android:text="This is a simple two button app. \r\n \r\n Tell your user what your app does here \r\n \r\n \r\n \r\n" android:padding="10dp" android:textColor="#FFFFFF" />

THE APPLICATION
Has life-cycle

Activity Views
screen App to handle content

Intents
Service

Background app Like music player

manifest

ContentProviders

Other applications

ACTIVITY FLOWCHART

THE ANDROID MANIFEST LISTS APPLICATION DETAILS


<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.idleworx.android.twobuttonapp" android:versionCode="1" android:versionName="1.0"> <uses-sdkandroid:minSdkVersion="8" /> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".TwoButtonApp" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>

THE EMULATOR / AVD


Virtual mobile device running on computer. Develop and test android application without using physical device. Runs the same image as on the device. Limitations: No Camera support. No USB or Bluetooth support is available. Sensor data, are simulated using your computer(GPS, battery ,n/w connectivity). Phone calls and SMS cannot be placed or received but are simulated i.e. they do not use a real network.

To create emulator in Eclipse click on the AVD manager

button.

Now click on New.. to create a new virtual device.

AVD SETTING
AVD Android Version

Device Name
Size of SD card (optional)

Display Settings

Additional Hardware

Finally click on create AVD

RESULTS

CONCLUSION
As a programmer, we have learned that Developing the

application using Android is much easier and anyone who has some basic knowledge about the java background can develop the application easily. If one have curiosity to do something different, want to have new looks or want some specific result in his mobile phone/Tab he can take the help of the android platform. There are too many tools by using which developers can do amazing thing on their Android Devices.

REFERENCES
1. Online development guide

http://developer.android.com/guide/index.html 2. Book Android Pro 3 by Satya Komatineni, Dave Mac Lean, Sayed Y. Hashimi 3. Youtube Android Application development by newboston http://www.youtube.com/watch?v=SUOWNXGRc6g 4. Getting first hand on how to start with APP development from the website http://thenewboston.org/

QUERIES?

Anda mungkin juga menyukai