2010q2 sdk overview
TRANSCRIPT
-
8/10/2019 2010Q2 SDK Overview
1/32
Android PlatformOverview
May 2010
-
8/10/2019 2010Q2 SDK Overview
2/32
2
!
Android is an open platform,
and its open source
!
Free, no licensing required! Develop mostly in Java and XML
C/C++ for Native development (NDK)
!
Source code available
SDK and core apps
http://source.android.com
Android
-
8/10/2019 2010Q2 SDK Overview
3/32
3
!
Multiple Screen Sizes
! User Interface
! Concurrent Applications
! Inter-app Communication
! Speech Input
!
Location and Mapping Services
! Hardware Sensors
! Native Development Kit
Key Platform Features
-
8/10/2019 2010Q2 SDK Overview
4/32
4
!
Shipping 100K+ devices per day
! More devices = more business
!
SDK supports:
Many screen sizes/resolutions
Screen density independence
Multiple Devices, Single App
-
8/10/2019 2010Q2 SDK Overview
5/32
5
~120 / ldpi ~160 / mdpi ~240 / hdpi
Small screen
~ !3.0
Normal
screen~ !4.0
Large screen
~ "4.8
Multiple Devices, Single App
-
8/10/2019 2010Q2 SDK Overview
6/32
6
Note: This data is based on the number of Android devices that have accessed
Android Market within a 14-day period ending on May 17th2010
http://developer.android.com/resources/dashboard/screens.html
Screen Size & Density Breakdown
-
8/10/2019 2010Q2 SDK Overview
7/32
7
An Android application is actually a
collection of several components, each
defined inAndroidManifest.xml
Application Components
-
8/10/2019 2010Q2 SDK Overview
8/32
8
!
Activities
! Services
!
Content Providers
! Broadcast Receivers
Application Components
-
8/10/2019 2010Q2 SDK Overview
9/32
9
!
Launcher icons
! Status bar notification
!
Widgets
! Quick Search Box
integration! Live Folders
! Live Wallpapers
Surfacing your UI
-
8/10/2019 2010Q2 SDK Overview
10/32
10
!
Launcher icons
! Status bar notification
!
Widgets
! Quick Search Box
integration! Live Folders
! Live Wallpapers
Surfacing your UI
-
8/10/2019 2010Q2 SDK Overview
11/32
-
8/10/2019 2010Q2 SDK Overview
12/32
12
!
Launcher icons
! Status bar notification
!
Widgets
! Quick Search Box
integration! Live Folders
! Live Wallpapers
Surfacing your UI
-
8/10/2019 2010Q2 SDK Overview
13/32
13
!
Launcher icons
! Status bar notification
!
Widgets
! Quick Search Box
integration! Live Folders
! Live Wallpapers
Surfacing your UI
-
8/10/2019 2010Q2 SDK Overview
14/32
14
!
Launcher icons
! Status bar notification
!
Widgets
! Quick Search Box
integration! Live Folders
! Live Wallpapers
Surfacing your UI
-
8/10/2019 2010Q2 SDK Overview
15/32
15
!
Users can multitask
Apps get paused, not closed
!
Background services Invisible apps with no GUI Unobtrusive event notifications
Listen to music and check
email simultaneously
Concurrent Applications
-
8/10/2019 2010Q2 SDK Overview
16/32
16
!
Intents link activities, services, and
receivers together
!
Intents consists ofAn action (i.e.ACTION_VIEW)
Data (i.e. content://contacts/people/123)
Categories (i.e. CATEGORY_DEFAULT)
Extrasmetadata
! Intents can also be to hard-coded class
names (com.foo.FooActivity)
Intents
-
8/10/2019 2010Q2 SDK Overview
17/32
-
8/10/2019 2010Q2 SDK Overview
18/32
-
8/10/2019 2010Q2 SDK Overview
19/32
19
!
Enables voice-to-text capability
! Invoke via IME or Intent
!
English, Mandarin Chinese & Japanese
! Integrate with 3rd party speech
recognition service
Speech Input
-
8/10/2019 2010Q2 SDK Overview
20/32
20
Example: Speech Input
-
8/10/2019 2010Q2 SDK Overview
21/32
21
!
LocationManager
Service determines location and bearing
Register for periodic updates by time
Register for proximity updates by distance
! Google Maps library Includes MapView
Programmatic access to Google Maps API
Handles user interaction to control Map
Location and Mapping
-
8/10/2019 2010Q2 SDK Overview
22/32
22
Example: Location and Mapping
-
8/10/2019 2010Q2 SDK Overview
23/32
23
!
Camera
! Microphone
!
Accelerometer
! Compass
!
Example apps:Layar, Google Goggles
Hardware and Sensors
-
8/10/2019 2010Q2 SDK Overview
24/32
24
!
Used in conjunction with the SDK
! Performance-critical, C/C++ code
!
Just launched NDK r3
Support for OpenGL ES 2.0
Compact, efficient binaries
!
Typical uses: Games
Re-use existing C/C++ code base
Native Development Kit (NDK)
-
8/10/2019 2010Q2 SDK Overview
25/32
25
developer.android.com
Getting Started
-
8/10/2019 2010Q2 SDK Overview
26/32
26
1.
Download the SDK
2. Install Eclipse andADT
3.
Look through tutorials and samples
4. Run them on the emulator or your
device
5. Write your app!
Getting Started
-
8/10/2019 2010Q2 SDK Overview
27/32
27
!
Android has a strong, active developerbase
Google Groups
Stack Overflow
IRC office hours
Developer Community
-
8/10/2019 2010Q2 SDK Overview
28/32
Appendix
-
8/10/2019 2010Q2 SDK Overview
29/32
29
!
Monetize!
!Auto display highest paying ads
!
Targeting
Keyword, demographics, location
Ad placement
!
Control ad appearance and positioning
AdSense for Mobile Applications SDK
-
8/10/2019 2010Q2 SDK Overview
30/32
30
!
Tracks install referrer
! Tracks Pageviews & Events
!
Integrates with Google Analyticsdashboard
Analytics Tracking for Mobile Apps
-
8/10/2019 2010Q2 SDK Overview
31/32
31
Note: This data is based on the number of Android devices that have accessed
Android Market within a 14-day period ending on May 17th2010
http://developer.android.com/resources/dashboard/platform-versions.html
Version % of Devices
1.5(API Level 3) 34.1%
1.6(API Level 4) 28.0%
2.1(API Level 7) 37.2%
Other 0.7%
Device Dashboard
-
8/10/2019 2010Q2 SDK Overview
32/32