Beginning Android Development

23
Beginning Android Development Lawrence Sing Wong [email protected] metawave.wordpress.com

description

Lawrence Sing Wong [email protected] 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 - PowerPoint PPT Presentation

Transcript of Beginning Android Development

Page 1: Beginning Android Development

Beginning Android Development

Lawrence Sing Wong

[email protected]

Page 2: Beginning Android Development

Goals

Android Ecosystem Android Platform Hands-on Android Development Resources

Page 3: Beginning Android Development

Introduction

Android - An Open Platform for Mobile Development

Open Handset Alliance Android Stack Native Apps vs Web Apps

Page 4: Beginning Android Development

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..

Page 5: Beginning Android Development

OHA

Members Google NARMHP

Page 6: Beginning Android Development

Android Stack

Diagram Platform built upon Linux 1 process per application Java, c/c++ Vs iOS, WinPhone7, MeeGo, Symbian, Bada

Page 7: Beginning Android Development

Android and Java

NOT JavaME Dalvik JVM instead of JVM - register-based vs stack-based - more efficient and compact implementation. Reuse through Intent

Page 8: Beginning Android Development

Getting Started

Downloads Android SDK Features Hello World Example

Page 9: Beginning Android Development

IDE

Eclipse 3.5 Android ADT Plugin JDK 5.0/6.0 AVD setup Emulator

Page 10: Beginning Android Development

Hello World

New Project Android Manifest Activity R.java, main.xml, strings.xml, ...

Page 11: Beginning Android Development

Phone

How to setup for development Phone vs Emulator

Page 12: Beginning Android Development

Next examples

To-Do List Example Android Development Tools

Page 13: Beginning Android Development

Development Tools

Debugger DDMS adb

Page 14: Beginning Android Development

DDMS

Screen capture File structure Send messages to emulator

Page 15: Beginning Android Development

Command Line

adb command uninstall logcat

Page 16: Beginning Android Development

Applications and Activities

What makes an Android Application? Android Manifest Application Life Cycle

Page 17: Beginning Android Development

Activity

UI thread Presents window to user Life-cycle diagram Managed by Android

Page 18: Beginning Android Development

Intents

Introducing Intents Implicit Intents Explicit Intents Extras

Page 19: Beginning Android Development

Others

Service Broadcast Receiver Content Provider Adapter

Page 20: Beginning Android Development

User Interfaces

Basic UI Design Views Layouts

Page 21: Beginning Android Development

Markets

Android Market Share SDK versions and percentages Android Market Job Market

Page 22: Beginning Android Development

But which is the best..

OS? Linux, Win7 or Mac? Phone? http://www.google.com/phone/#

Page 23: Beginning Android Development

Resources

developer.android.com android.git.kernel.org code.google.com stackoverflow.com http://www.google.com/phone/#