agil eight android
TRANSCRIPT
Short Intro• Information security
architect at Agil Eight
• OSS development:OpenPGP in java,ePoint online payment
• Email:[email protected]
Google Android Open Platform• Open Source
• Linuxbased
• Hardwareindependent
• 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 bytecode compatible with Sun's JVM (dex)– Optimized for small memory footprint– One JVM per app, one UID per JVM
• Innovative interapp communication• UI based on somewhat obsolete principles
Platform Development• Main objective: porting to new hardware
• Fairly typical embedded linux workflow– Crosscompiling 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
• Interapp 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: lowlevel, pixelaware 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://androiddevelopers.blogspot.com– IRC– Events, challenges, prizes, etc.
Marketplace• Maturing quickly, but not quite there yet• Support for nonfree 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