10101010101
01010101010                  Android Platform 
10101010101
01010101010
                             Overview




                                                                         
                                              Google confidential and proprietary
                                                     Android Developer Labs ­ Q1 2010   1
Android

• Android is an open platform, and it’s 
  open source
•   Free, no licensing required
•   Develop in Java, C/C++
•   Replace the core apps with your own
•   Source code available
    – SDK and core apps
    – http://source.android.com



                       Android Developer Labs ­ Q1 2010   2
Key Platform Features

•   Multiple Screen Sizes
•   User Interface
•   Concurrent Applications
•   Inter­app Communication
•   Speech Input
•   Location and Mapping Services
•   Hardware Sensors
•   Native Development Kit


                    Android Developer Labs ­ Q1 2010   3
Multiple Devices, Single App

• Shipping 60K devices per day
• More devices = more business
• SDK supports:
  – Many screen sizes/resolutions
  – Screen density independence




                     Android Developer Labs ­ Q1 2010   4
Multiple Devices, Single App

                 ~120 / ldpi           ~160 / mdpi                ~240 / hdpi



 Small screen
     ~ ≤ 3.0”




Normal screen
     ~ ≤ 4.0”




 Large screen
      ~ ≥ 4.8”



                               Android Developer Labs ­ Q1 2010                 5
Surfacing Your UI

• Launcher icons
• Notification bar
• Widgets
• Quick Search Box
  integration
• Live Folders
• Live Wallpapers

                     Android Developer Labs ­ Q1 2010   6
Surfacing Your UI

• Launcher icons
• Status Bar Notification
• Widgets
• Quick Search Box
• Live Folders
• Live Wallpapers


                     Android Developer Labs ­ Q1 2010   7
Surfacing Your UI

• Launcher icons
• Status Bar Notification
• Widgets
• Quick Search Box
• Live Folders
• Live Wallpapers


                     Android Developer Labs ­ Q1 2010   8
Surfacing Your UI

• Launcher icons
• Status Bar Notification
• Widgets
• Quick Search Box
• Live Folders
• Live Wallpapers


                     Android Developer Labs ­ Q1 2010   9
Surfacing Your UI

• Launcher icons
• Status Bar Notification
• Widgets
• Quick Search Box
• Live Folders
• Live Wallpapers


                     Android Developer Labs ­ Q1 2010   10
Surfacing Your UI

• Launcher icons
• Status Bar Notification
• Widgets
• Quick Search Box
• Live Folders
• Live Wallpapers


                     Android Developer Labs ­ Q1 2010   11
Concurrent Applications

• Users can multitask
  – Apps get paused, not closed


• Background services
  – Invisible apps with no GUI
  – Unobtrusive event notifications
  – Listen to music and check email




                      Android Developer Labs ­ Q1 2010   12
Inter­App Communication

• Intents allow apps to invoke other apps
• Apps fire Intents with params
• Apps listen for Intents and handle accordingly


         Application                                      Application
              A                                                B
                           “Intent”




                       Android Developer Labs ­ Q1 2010                 13
Example: Inter­App Communication




               Android Developer Labs ­ Q1 2010   14
Speech Input

•   Enables voice­to­text capability
•   Invoke via IME or Intent
•   English, Mandarin Chinese & Japanese
•   Integrate with 3rd party speech recognition 
    service




                      Android Developer Labs ­ Q1 2010   15
Example:  Speech Input




                Android Developer Labs ­ Q1 2010   16
Location and Mapping

• 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


                      Android Developer Labs ­ Q1 2010   17
Example:  Location and Mapping




                Android Developer Labs ­ Q1 2010   18
Hardware Sensors

• Camera
• Microphone
• Accelerometer
• Compass
• Example apps:
  Layar, Google Goggles



                  Android Developer Labs ­ Q1 2010   19
Native Development Kit (NDK)

• 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



                     Android Developer Labs ­ Q1 2010   20
Getting Started




       developer.android.com




                  Android Developer Labs ­ Q1 2010   21
Publishing

• Simple approach to publishing apps
  – Upload to Android Market, live in few minutes
  – No proactive review process
• Updates
  – Same process, just push the button
• Reporting




                      Android Developer Labs ­ Q1 2010   22
Developer Community

• Android has a strong, active developer base
  – Google Groups
  – Stack Overflow
  – IRC office hours




                       Android Developer Labs ­ Q1 2010   23
10101010101
01010101010
10101010101
01010101010                 Thanks!

                            Q&A




                                                                         
                                              Google confidential and proprietary
                                                     Android Developer Labs ­ Q1 2010   24
10101010101

                             Appendix
01010101010
10101010101
01010101010




                                                                         
                                              Google confidential and proprietary
                                                     Android Developer Labs ­ Q1 2010   25
AdSense for Mobile Applications SDK

• Monetize!

• Auto display highest paying ads

• Targeting
  – Keyword, demographics, location

  – Ad placement

• Control ad appearance and positioning


                    Android Developer Labs ­ Q1 2010   26
Analytics Tracking for Mobile Apps

• Tracks install referrer
• Tracks Pageviews & Events
• Integrates with Google Analytics dashboard




                   Android Developer Labs ­ Q1 2010   27
Device Dashboard


                                                          Android Platform   % of Devices
                                                          Android 1.1        0.3%
                                                          Android 1.5        31.0%
                                                          Android 1.6        47.6%
                                                          Android 2.0        0.7%
                                                          Android 2.0.1      20.4%




Note: This data is based on the number of Android devices that have accessed 
Android Market within a 14­day period ending on 1/4/2010

http://developer.android.com/resources/dashboard/platform­versions.html

                                   Android Developer Labs ­ Q1 2010                         28
Source Code Contribution




          http://source.android.com/submit­patches/workflow
                        Android Developer Labs ­ Q1 2010      29

Sdk overview