Professional Documents
Culture Documents
Agenda:1.
What is Android?
2.
3.
4.
5.
6.
7.
8.
9.
What Is Android ?
A software platform and
operating system for mobile
devices
Applications in Android..
1.
Whats App..
2.
Facebook..
3.
We-Chat..
4.
Mx-Player..
5.
Line ..
6.
Times-Of-India..
What is OHA ?
A BUSINESS ALLIANCE
CONSISTING OF 47
COMPANIES TO DEVELOP
OPEN STANDARDS FOR
MOBILE DEVICES
Framework..
Android 1.5
Cup cake
Android 2.2
Foroyo
Android 1.6
Donut
Android 2.3
Gingerbread
Android 2.1
Eclairs
Android 2.3
Ice-Creame
Sandwich
Setting up
Android
Application
Development
INSTALL
ECLIPSE
INSTALL
ANDROID SDK
(ANDROID
LIBRARIES)
INSTALL ADT
PLUGIN
(ANDROID
DEVELOPMENT
TOOLS)
Programming
Memory Management
Function..
.java
.class
.dex
Dalvik Virtual
Machine
Application
Development Tools
Activity
IntentReceiver
Service
ContentProvider
Activity..
Represents the
presentation layer
of an Android
application, e.g. a
screen which the
user sees.
Intent..
Activity 1
These
are
message
passing
mechanism
Activity 2
Services
Content Provider
Project
Explorer window
Android
version
Directory
name
Java package
Name that appears
on device
Class to
automatically
create
Auto-generated
code
String
constants
UI
layout
Configuration
HelloWorld.java
1
@Override
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
8
9
}
}
Main.xml
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
7
8
9
>
<TextView
android:layout_width="fill_parent"
10
android:layout_height="wrap_content"
11
android:text="@string/hello "
12
/>
13 </LinearLayout>
Strings.xml
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
4
5
6
</string>
<string name="app_name">Hello,
Android</string>
</resources>
AndroidManifest.xml
Thank You