Android Ranjithfinal 110507043403 Phpapp01

28
  ANDROID WELCOME TO

Transcript of Android Ranjithfinal 110507043403 Phpapp01

Page 1: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 1/28

 

 ANDROID

WELCOME 

TO

Page 2: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 2/28

• Introduction to android

• What is android?

• Features of android

• Architecture• Drawbacks of android

• Future possibilities

Outline

Page 3: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 3/28

• Wikipedia :

• An embedded system is a computer system designed toperform one or a few dedicated functions often with real-time computing constraints. It is embedded as part of acomplete device often including hardware andmechanical parts.

• Embedded systems are controlled by a main processingcore that is typically either a microcontroller or a digital

signal processor (DSP). 

Embeded System

Page 4: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 4/28

Internet and Mobile Phone Users

Page 5: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 5/28

Open Handset Alliance

• The OHA is a group of hardware and software developers,including Google, NTT DoCoMo, Sprint Nextel, and HTC … 

• Goal

 – Accelerate innovation in mobile – Offer consumers a richer, less expensive, and better

mobile experience

• OHA have developed Android™, the first complete, open,

and free mobile platform

Page 6: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 6/28

Google Phone

• HTC Dream , T mobile G1, announced at 2008.09

• HTC Hero, HTC Magic, HTC Tatoo

• SAMSUNG Galaxy i7500

Page 7: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 7/28

• Introduction to android

• What is android?

• Features of android

• Architecture• Drawbacks of android

• Future possibilities

Page 8: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 8/28

What is Android ?

• Android is a software stack for mobile devices that includes an

operating system, middleware and key applications.

• Android is a Java-based operating system that runs on the

Linux 2.6 kernel.

• The Android SDK provides the tools and APIs necessary to

begin developing applications on the Android platform using

the Java programming language.

Page 9: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 9/28

• Introduction to android

• What is android?

• Features of android

•Architecture

• Drawbacks of android

• Future possibilities

Page 10: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 10/28

Features

• Application framework enabling reuse and replacement of 

components

• Dalvik virtual machine optimized for mobile devices

• Integrated browser based on the open source WebKit engine• Optimized graphics powered by a custom 2D graphics library;

3D graphics based on the OpenGL ES 1.0 specification

(hardware acceleration optional)

• SQLite for structured data storage

Page 11: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 11/28

• Introduction to android

• What is android?

• Features of android

• Architecture

• Drawbacks of android

• Future possibilities

Page 12: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 12/28

Android Architecture

Page 13: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 13/28

Linux Kernel

• Android is built on the Linux kernel, but Android is not Linux

• Provide core system services such as process, memory, power

management, network stack, driver model and security

• Does not include the full set of standard Linux utilities

• The Android kernel source is available today

• http://git.android.com

Page 14: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 14/28

Native Libraries

• Bionic Libc

• Function Libraries

• Native Servers

• Hardware Abstraction Libraries

Page 15: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 15/28

Bionic Libc

• C/C++ library

• Custom libc implementation, optimized for embedded use.

• Pros (compare with glibc)

 – BSD License – Small size and fast code paths

 – Very fast and small custom pthread implementation

• Not compatible with Gnu Libc (glibc)

Page 16: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 16/28

Function Libraries• WebKit

 – Based on open source WebKit browser

 – Full CSS, Javascript, DOM, AJAX support

• Media Framework

 – Based on PacketVideo OpenCORE platform – Supports standard video, audio, still-frame formats

• SOLite

 – Light-weight transactional data store

 – Back end for most platform data storage

Page 17: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 17/28

Android Runtime• Application Developed language : Java• Dalvik Virtual Machine

• Instruction set : Dalvik Excutable

• Java Standard Library

• Compile java code to Dalvik Executable (dex format)

Page 18: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 18/28

Dalvik Virtual Machine• Android custom implementation virtual machine

 – Provides application portability and runtime consistency

 – Runs optimized file format (.dex) and Dalvik bytecode

 – Java .class / .jar files converted to .dex at build time

• Designed for embedded environment

 – Supports multiple virtual machine processes per device

 – Highly CPU-optimized bytecode interpreter

 – Efficiently Using runtime memory

• Core Libraries

 – Core APIs for Java language provide a powerful, yet simple and

familiar development platform

Page 19: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 19/28

Application Framework• Activity manager

 – Manage the life cycle of applications

• Content Provider

 – Share data between applications

• Resource Manager – Manager non-code resource

• Notification Manager

 – Display custom alerts in the status bar

• Views System – A rich and extensible set, which can construct UI

Page 20: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 20/28

Applications• Use the powerful and flexible application framework to

develop your application

• Written by JAVA programming language

Page 21: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 21/28

Application Development

Environment• IDE – Eclipse

• Eclipse plug-in - ADT

• Software Development Kit (SDK)• Android Emulator

• Debbuger

Page 22: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 22/28

Software Development Kit

• The Android SDK includes a variety of custom tools that help

you develop mobile applications on the Android platform.

 – Android Emulator

 – Android Development Tools Plugin (for the Eclipse IDE)

 – Android Virtual Devices (AVDs)

 – Hierarchy Viewer

 – Android Debug Bridge (adb)

Page 23: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 23/28

Android Emulator

• Virtual mobile device

• QEMU-based ARM emulator

• Design application in an actualAndroid runtime environment

• Use the same toolchain

• Run the same binary

Page 24: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 24/28

• Introduction to android

• What is android?

• Features of android

• Architecture

• Drawbacks of android

• Future possibilities

Page 25: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 25/28

• Media support for common audio, video, and still image

formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)

• GSM Telephony (hardware dependent)

• Bluetooth, EDGE, 3G, and WiFi (hardware dependent)

• Camera, GPS, compass, and accelerometer (hardware

dependent)

• Rich development environment including a device emulator,

tools for debugging, memory and performance profiling, and a

plugin for the Eclipse IDE

DRAWBACKS

Page 26: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 26/28

• Introduction to android

• What is android?

• Features of android

• Drawbacks of android

• Architecture

• Future possibilities

Page 27: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 27/28

Future possibilities

•Google Android Sales to Overtake iPhone in 2012

• The OHA is committed to make their vision a reality:to deploy the Android platform for every mobileoperator, handset manufacturers and developers tobuild innovative devices

• Intel doesn’t want to lose ownership of the netbookmarket, so they need to prepare for anything,including Android

• Fujitsu launched an initiative to offer consulting andengineering expertise to help run Android on

embedded hardware, which aside from cellphones,mobile internet devices, and portable media players,could include GPS devices, thin-client computers andset-top boxes.

• More Android devices are coming and some will push

the envelope even further 

Page 28: Android Ranjithfinal 110507043403 Phpapp01

7/28/2019 Android Ranjithfinal 110507043403 Phpapp01

http://slidepdf.com/reader/full/android-ranjithfinal-110507043403-phpapp01 28/28

Thank you for your 

attention! Any questions?