Android Overview Andreas Jakl

Preview:

Citation preview

AndroidAndroid

Overview

FH Hagenberg – Mobile Computing1 Andreas Jakl, 2009 v1.0 – May 07, 2009

ContentsContents

● Smartphone Platformsp

● Android

− Handsets

− Development

− Main Concepts

Market− Market

FH Hagenberg – Mobile ComputingAndreas Jakl, 20092

About me: Andreas JaklAbout me: Andreas Jakl

● Assistant Professor at the Upper Austria University of Applied Sciences, Campus Hagenberg p g gsince 2006

● Own company:● Own company:Mopius

FH Hagenberg – Mobile ComputingAndreas Jakl, 20093

Smartphone PlatformsSmartphone Platforms

FH Hagenberg – Mobile ComputingAndreas Jakl, 20094

Google AndroidGoogle Android

● Developed by the p yOpen Handset Alliance

Based on Linux− Based on Linux

− Free licensing

− G1 (HTC) in the market now

● http://www.openhandsetalliance.com/p // p /

FH Hagenberg – Mobile ComputingAndreas Jakl, 20095

Open Handset AllianceOpen Handset Alliance

● ~50 technology / mobile companiesgy / p

● Founded: November 2007

● Involvement:

− Ensure compatibilityp y

− Bring in intellectual property

Manufacture handsets− Manufacture handsets

● http://www.openhandsetalliance.com/

FH Hagenberg – Mobile ComputingAndreas Jakl, 20096

Handset ManufacturersHandset Manufacturers

FH Hagenberg – Mobile ComputingAndreas Jakl, 20097

HandsetsHandsets

Samsung i7500(June 2009)

HTC Magic(June 2009)

T‐Mobile G1

FH Hagenberg – Mobile ComputingAndreas Jakl, 20098

Android: DevelopmentAndroid: Development

● Developmentp

− Based on Java(Eclipse‐Plugin)(Eclipse‐Plugin)

− Own Virtual Machine by Google (Dalvik)by Google (Dalvik)

FH Hagenberg – Mobile ComputingAndreas Jakl, 20099

EmulatorEmulator

● QEMU

− Generic and open source machine emulator and virtualizer

− http://bellard.org/qemu/

● Android‐Emulator

− QMEU‐based (for ARM)

− Runs same system image as devicesRuns same system image as devices

Use the same toolchain for emulator & devices

FH Hagenberg – Mobile ComputingAndreas Jakl, 200910

Linux KernelLinux Kernel

● Why a Linux Kernel?y

− Has been around for a long time ( stable)( )

− But: thoroughly optimized by Google for mobile devices

− Provides: hardware abstraction, driver model, security, memory & process management, networking

● Linux not accessible for the user

FH Hagenberg – Mobile ComputingAndreas Jakl, 200911

Java vs. C++Java vs. C

FH Hagenberg – Mobile ComputingAndreas Jakl, 200912

Replacing & Reusing ComponentsReplacing & Reusing Components

● Client component makes a request for a specific action

− “Pick a picture”  request is called “Intent”

● System picks best component for that action

− Built‐in Pictures application

− Can be replaced with another application

− New components can use existing functionality

Pi t

Home

C t t

Pick a picture

Share on Ovi

PicturesContacts

Your app.

FH Hagenberg – Mobile ComputingAndreas Jakl, 200913

IntentsIntents

● Commonly used in the systemy yDisplay web pageSend SMS

Pick a picture

Show location

Send 

Go homeEdit 

contacts

email

FH Hagenberg – Mobile ComputingAndreas Jakl, 200914

Application LifecycleApplication Lifecycle

● Application lifecycle is managed by the system

● Application start/stop is transparent t thto the user

● End‐user only sees that they are moving between screensbetween screens

− Users shouldn’t have to think about memory for applications on a mobile device

− Virtual memory would be problematic –flash is slow

FH Hagenberg – Mobile ComputingAndreas Jakl, 200915

Android MarketAndroid Market

● Register with Google accountg g

● $25 registration fee

● Payment?

− Free: no fee

− Otherwise: 30% go to Google

http //market android com/p blish● http://market.android.com/publish

FH Hagenberg – Mobile ComputingAndreas Jakl, 200916

Operator StoresOperator Stores

Android applications also available through t‐zones Austria!pp g

FH Hagenberg – Mobile ComputingAndreas Jakl, 200917

OnlineOnline

Android.comPortal to all resources

Android Market Developers Open Source Project

FH Hagenberg – Mobile ComputingAndreas Jakl, 200918

Thanks for your attention.Contact: andreas.jakl@fh‐hagenberg.at

y

FH Hagenberg – Mobile ComputingAndreas Jakl, 200919

Recommended