250 likes | 543 Views
Lawrence Sing Wong LawrenceSWong@gmail.com metawave.wordpress.com. Beginning Android Development. Goals. Android Ecosystem Android Platform Hands-on Android Development Resources. Introduction. Android - An Open Platform for Mobile Development Open Handset Alliance Android Stack
E N D
Lawrence Sing Wong LawrenceSWong@gmail.com metawave.wordpress.com Beginning Android Development
Goals • Android Ecosystem • Android Platform • Hands-on Android Development • Resources
Introduction • Android - An Open Platform for Mobile Development • Open Handset Alliance • Android Stack • Native Apps vs Web Apps
Open Platform for Mobile Development • Open Source • Royalty-free : Free as in beer • Free to fork : Free as in speech • No approval needed for Android Market • Free to download from multiple sources • but..
OHA • Members • Google • NARMHP
Android Stack • Diagram • Platform built upon Linux • 1 process per application • Java, c/c++ • Vs iOS, WinPhone7, MeeGo, Symbian, Bada
Android and Java • NOT JavaME • Dalvik JVM instead of JVM • - register-based vs stack-based • - more efficient and compact implementation. • Reuse through Intent
Getting Started • Downloads • Android SDK Features • Hello World Example
IDE • Eclipse 3.5 • Android ADT Plugin • JDK 5.0/6.0 • AVD setup • Emulator
Hello World • New Project • Android Manifest • Activity • R.java, main.xml, strings.xml, ...
Phone • How to setup for development • Phone vs Emulator
Next examples • To-Do List Example • Android Development Tools
Development Tools • Debugger • DDMS • adb
DDMS • Screen capture • File structure • Send messages to emulator
Command Line • adb command • uninstall • logcat
Applications and Activities • What makes an Android Application? • Android Manifest • Application Life Cycle
Activity • UI thread • Presents window to user • Life-cycle diagram • Managed by Android
Intents • Introducing Intents • Implicit Intents • Explicit Intents • Extras
Others • Service • Broadcast Receiver • Content Provider • Adapter
User Interfaces • Basic UI Design • Views • Layouts
Markets • Android Market Share • SDK versions and percentages • Android Market • Job Market
But which is the best.. • OS? Linux, Win7 or Mac? • Phone? http://www.google.com/phone/#
Resources • developer.android.com • android.git.kernel.org • code.google.com • stackoverflow.com • http://www.google.com/phone/#