19
Android Android Overview FH Hagenberg – Mobile Computing 1 Andreas Jakl, 2009 v1.0 – May 07, 2009

Android Overview Andreas Jakl

  • Upload
    a2d2at

  • View
    1.007

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Android Overview Andreas Jakl

AndroidAndroid

Overview

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

Page 2: Android Overview Andreas Jakl

ContentsContents

● Smartphone Platformsp

● Android

− Handsets

− Development

− Main Concepts

Market− Market

FH Hagenberg – Mobile ComputingAndreas Jakl, 20092

Page 3: Android Overview Andreas Jakl

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

Page 4: Android Overview Andreas Jakl

Smartphone PlatformsSmartphone Platforms

FH Hagenberg – Mobile ComputingAndreas Jakl, 20094

Page 5: Android Overview Andreas Jakl

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

Page 6: Android Overview Andreas Jakl

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

Page 7: Android Overview Andreas Jakl

Handset ManufacturersHandset Manufacturers

FH Hagenberg – Mobile ComputingAndreas Jakl, 20097

Page 8: Android Overview Andreas Jakl

HandsetsHandsets

Samsung i7500(June 2009)

HTC Magic(June 2009)

T‐Mobile G1

FH Hagenberg – Mobile ComputingAndreas Jakl, 20098

Page 9: Android Overview Andreas Jakl

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

Page 10: Android Overview Andreas Jakl

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

Page 11: Android Overview Andreas Jakl

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

Page 12: Android Overview Andreas Jakl

Java vs. C++Java vs. C

FH Hagenberg – Mobile ComputingAndreas Jakl, 200912

Page 13: Android Overview Andreas Jakl

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

Page 14: Android Overview Andreas Jakl

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

Page 15: Android Overview Andreas Jakl

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

Page 16: Android Overview Andreas Jakl

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

Page 17: Android Overview Andreas Jakl

Operator StoresOperator Stores

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

FH Hagenberg – Mobile ComputingAndreas Jakl, 200917

Page 18: Android Overview Andreas Jakl

OnlineOnline

Android.comPortal to all resources

Android Market Developers Open Source Project

FH Hagenberg – Mobile ComputingAndreas Jakl, 200918

Page 19: Android Overview Andreas Jakl

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

y

FH Hagenberg – Mobile ComputingAndreas Jakl, 200919