hoalq

21
RESEARCH ON ANDROID OPERATING SYSTEM By: Lê Quang Hòa Email: [email protected] 1

Upload: lequanghoa

Post on 08-Jul-2015

99 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Hoalq

RESEARCH ON ANDROID OPERATING SYSTEM

By: Lê Quang Hòa

Email: [email protected]

1

Page 2: Hoalq

Introduction

Installation and setting up the environment

Android operating system

Demo

CONTENTS

2

Page 3: Hoalq

Introduction

Installation and setting up the environment

Android operating system

Demo

CONTENTS

3

Page 4: Hoalq

What is Android?

• As a software platform and operating system for mobile devices

• Is based on the Linux kernel

• Developed by Google and later by Open Handset Alliance (OHA)

• Allows code written in Java and some other languages supported by Google

• Android was officially launched November 5, 2007

INTRODUCTION

4

Page 5: Hoalq

INTRODUCTION

What is Open Handset Alliance (OHA) ?

5

Page 6: Hoalq

Research and using Android over the world

• Every day there are more than 500,000 Android devices activated

• There are more than 70,000 Android applications stored in the Android Market and over 100,000 applications filed ( according to 2010 data).

• There are also some reliable providers for Android 3rd party application such as Amazon, Ebay ...

• Every Android device manufacturers have integrated GPS / A-GPS.

• Google Maps has supported mobile platforms

INTRODUCTION

6

Page 7: Hoalq

Research and using Android in Viet Nam

• Programmers have begun to approach Android for about 2 years.

• Android programming training centers are opened in the big cities.

• ViMarket Market applications for Android was opened and the top 10th applications of Vietnam Talent 2011 competition

INTRODUCTION

7

Page 8: Hoalq

Introduction

Installation and setting up the environment

Android operating system

Demo

CONTENTS

8

Page 9: Hoalq

Step 0: Eclipse Download Eclipse IDE for Java EE Developer http://www.eclipse.org/downloads/

Step 1: Android SDK Download Android SDK zip from: http://developer.android.com/sdk/index.html Unzip to a folder: "D: \ Andoid \ android-sdk-windows"

INSTALLATION AND SETTING UP

9

Page 10: Hoalq

Step 2: Android Development Tools (ADT) Help> Install new software Install all plugins by ADT from: https://dl-ssl.google.com/android/eclipse/

Configure ADT SDK: Window> Preferences> Android> Specify the location SDK

Step 3: Update Android SDK From SDK manager.exe or from the Android SDK and

AVD Manager of Eclipse Step 4: Android emulator Create virtual machine: Window> Android SDK and

AVD Manager> New

INSTALLATION AND SETTING UP

10

Page 11: Hoalq

introduction

Installation and setting up

Android operating system

Demo

CONTENTS

11

Page 12: Hoalq

Android is based on Linux,which should be able to be compatibly with a lot of different hardware.

ANDROID OPERATING SYSTEM

12

Page 13: Hoalq

ANDROID OPERATING SYSTEM

13

Page 14: Hoalq

All type of files onAndroid

ANDROID OPERATING SYSTEM

Display letter Type of file

d Thư mục (Directory)

b File kiểu khối (block-type-special file)

c File kiểu ký tự (character –type special file)

l Liên kết tượng trưng (symbolic link)

p File đường ống (pipe)

s Socket

- File bình thường (regular file)

14

Page 15: Hoalq

Folder tree on Android operating system

ANDROID OPERATING SYSTEM

15

Page 16: Hoalq

The Parts of one application on Android

•Activity: the background of an application

•Service: service background for Android users to update the data, given the warnings …

•Content Provider: management and data sharing between applications

•Intent: to send messages to initialize one activity or one service

ANDROID OPERATING SYSTEM

16

Page 17: Hoalq

The Parts of one application on Android

•Broadcast Receiver: used to receive messages from the outside post. For example: call signaling, network data ...

•Notification: make announcements without stopping the Activity

ANDROID OPERATING SYSTEM

17

Page 18: Hoalq

Using XML to display interface on Android

ANDROID OPERATING SYSTEM

18

Page 19: Hoalq

Mechanism of management process

•Foreground process: the currently application process is interactive by the user.

•Visible process: the process of the application is displayed

•Service process: service is running

•Background process: The background is that its activity does not show

•Empty process: the process does not have any Activity, it will be deleted once there is lack of resources

ANDROID OPERATING SYSTEM

19

Page 20: Hoalq

Introduction

Installation and setting up

Android operating system

Demo

CONTENTS

20

Page 21: Hoalq

Thank you very much!

21