agil eight android

12
 Android Development MobileMonday Budapest, 2009 Daniel A. Nagy, Agil Eight Ltd.

Upload: nagydani

Post on 17-Jul-2015

389 views

Category:

Technology


0 download

TRANSCRIPT

   

Android DevelopmentMobileMonday Budapest, 2009

Daniel A. Nagy, Agil Eight Ltd.

   

Short Intro• Information security 

architect at Agil Eight

• OSS development:OpenPGP in java,ePoint on­line payment

• Email:[email protected]

   

Google Android Open Platform• Open Source

• Linux­based

• Hardware­independent

• Applications in java

• Raison d'être?

   

What Runs Android?• Product (1.5M sold)

HTC G1 “dream”

• Coming up

– Asus eee, HTC G2

• Failed?– Kogan Agora Pro

   

Inside Android• Linux kernel, HW drivers, standard libs

• Dalvik JVM, neither J2SE nor J2ME

– Not byte­code compatible with Sun's JVM (dex)– Optimized for small memory footprint– One JVM per app, one UID per JVM

• Innovative inter­app communication• UI based on somewhat obsolete principles

   

Platform Development• Main objective: porting to new hardware

• Fairly typical embedded linux workflow– Cross­compiling toolchain and/or qemu– Evaluation board or other development HW

• Many successful ports, almost complete– Zaurus, EeePC, Nokia N810, Neo 1973, etc. 

   

“All apps are created equal”• Dialer and currency converter equal? Yes!

• Types of application components

– Activity: requires focused user action– Service: runs in the background indefinitely– Content Provider: handles application data

• Inter­app asynchronous communication– Intent: the signal for activating components

   

Design Features• Much computation shifted to compile time

– XML resources compiled into R.java– SVG rendered into bitmaps during compilation

• Snappy UI (hey it's Google!)– Price: low­level, pixel­aware painting

• Internet access assumed ubiquitous– Advanced connectivity features

   

App Development Environment• Android SDK downloadable for free

– Windows, Linux and Mac OSX versions– Includes reference docs and emulator

• IDE plugins for most popular IDE's– Eclipse is recommended, but one can use NB

• Testing and CI are supported• Visual UI design is coming up

   

Community• Open Handset Alliance (android.com)• Resources

– Mailing Lists– Google groups– Official Blog:

http://android­developers.blogspot.com– IRC– Events, challenges, prizes, etc.

   

Marketplace• Maturing quickly, but not quite there yet• Support for non­free apps added last week• Yearly membership fee: $25 USD• Based on Google Checkout (its only use?)

– Very similar to PayPal– Tied to Google Accounts (i.e. gmail)– Merchant account support added recently

   

Thank you for your attention!