Wrox press beginning android 4 application development (2012)
beginning of android development
-
Upload
tarneet-jolly -
Category
Documents
-
view
221 -
download
0
Transcript of beginning of android development
-
7/29/2019 beginning of android development
1/23
Beginning Android Development
Lawrence Sing Wong
mailto:[email protected]:[email protected]:[email protected] -
7/29/2019 beginning of android development
2/23
Goals
Android Ecosystem
Android Platform
Hands-on Android Development Resources
-
7/29/2019 beginning of android development
3/23
Introduction
Android - An Open Platform for MobileDevelopment
Open Handset Alliance
Android Stack
Native Apps vs Web Apps
-
7/29/2019 beginning of android development
4/23
Open Platform for MobileDevelopment
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..
-
7/29/2019 beginning of android development
5/23
OHA
Members
Google NARMHP
-
7/29/2019 beginning of android development
6/23
Android Stack
Diagram
Platform built upon Linux 1 process per application
Java, c/c++
Vs iOS, WinPhone7, MeeGo, Symbian, Bada
-
7/29/2019 beginning of android development
7/23
Android and Java
NOT JavaME
Dalvik JVM instead of JVM - register-based vs stack-based
- more efficient and compact implementation.
Reuse through Intent
-
7/29/2019 beginning of android development
8/23
Getting Started
Downloads
Android SDK Features Hello World Example
-
7/29/2019 beginning of android development
9/23
IDE
Eclipse 3.5
Android ADT Plugin JDK 5.0/6.0
AVD setup
Emulator
-
7/29/2019 beginning of android development
10/23
Hello World
New Project
Android Manifest Activity
R.java, main.xml, strings.xml, ...
-
7/29/2019 beginning of android development
11/23
Phone
How to setup for development
Phone vs Emulator
-
7/29/2019 beginning of android development
12/23
Next examples
To-Do List Example
Android Development Tools
-
7/29/2019 beginning of android development
13/23
Development Tools
Debugger
DDMS adb
-
7/29/2019 beginning of android development
14/23
DDMS
Screen capture
File structure
Send messages to emulator
-
7/29/2019 beginning of android development
15/23
Command Line
adb command
uninstall logcat
-
7/29/2019 beginning of android development
16/23
Applications and Activities
What makes an Android Application?
Android Manifest
Application Life Cycle
-
7/29/2019 beginning of android development
17/23
Activity
UI thread
Presents window to user
Life-cycle diagram Managed by Android
-
7/29/2019 beginning of android development
18/23
Intents
Introducing Intents
Implicit Intents
Explicit Intents Extras
-
7/29/2019 beginning of android development
19/23
Others
Service
Broadcast Receiver
Content Provider Adapter
-
7/29/2019 beginning of android development
20/23
User Interfaces
Basic UI Design
Views
Layouts
-
7/29/2019 beginning of android development
21/23
Markets
Android Market Share
SDK versions and percentages
Android Market Job Market
-
7/29/2019 beginning of android development
22/23
But which is the best..
OS? Linux, Win7 or Mac?
Phone? http://www.google.com/phone/#
-
7/29/2019 beginning of android development
23/23
Resources
developer.android.com
android.git.kernel.org
code.google.com stackoverflow.com
http://www.google.com/phone/#