Android talk I presented at FOSS 11 at SJCE Mysore
25
Introduction to Android -Ravi Vyas
Transcript
1. -Ravi Vyas
2. Android, Inc. was founded in Palo Alto, California, United
States in October, 2003 Google acquired Android Inc. in August,
2005 On the November 5, 2007 the Open Handset Alliance(OHA), a
consortium of several companies unveiled itself.
3. Market share has been growing at an incredible pace. Market
share jumped from 4.7% in Q42009 to 44% in Q2 2011 As of Nov 2011
Android Market Share in USA is 43% (Among smartphone). Android
Device activations grew from 60,000 device activations/day in Feb
2010 to 350,000 devices in March 2011 to 576000 in Oct. Android is
now the worlds second largest OS after windows
4. 1.5 Cupcake 1.6 Donut 2.1 Eclair 2.2 Froyo 2.3
GingerbreadApr 2009 Sep 2009 Oct 2009 May 2010 Dec 2010 3.0
Honeycomb 4.0 ICS Feb 2011 Oct 2011
5. 1.0 : Released 23 September 2008 1.1 : On 9 February 2009,
Android 1.1 update for Android was released for T-Mobile G1 1.5
(Cupcake) : 30 April 2009. Ability to record and watch videos
through camcorder mode, New widgets and folders that can populate
the Home screens. 1.6 (Donut) : 15 September 2009 . Support for
WVGA screen resolutions. Google free turn-by-turn navigation. 2.1
(Eclair) : 26 October 2009. New Browser UI and HTML5 support.
Exchange ActiveSync 2.5 support. Live Wallpapers 2.2 (Froyo) : 20
May 2010. USB tethering and Wi-Fi hotspot functionality, Adobe
Flash support. 2.3 (Gingerbread) : Native support for SIP VoIP
telephony, NFC. 3.0 (Honeycomb) : 22 February 2011. Tablet
support.
6. Android is a [open source] software stack for mobile devices
thatincludes an operating system, middleware and key
applications.The Android SDK provides the tools and APIs necessary
to begindeveloping applications on the Android platform using the
Javaprogramming language.
7. Android is not Linux.Android does not have a windowing
system.Does not have all the Linux utilities.
9. Features: GSM Telephony (hardware dependent) Bluetooth,
EDGE, 3G, and WiFi (hardware dependent) Camera, GPS, compass, and
accelerometer (hardware dependent) Integrated browser based on the
open source WebKit engine Optimized graphics powered by a custom 2D
graphics library; 3D graphics based on the OpenGL ES 1.0
specification (hardware acceleration optional) Media support for
common audio, video, and still image formats (MPEG4, H.264, MP3,
AAC, AMR, JPG, PNG, GIF)
10. Features: Rich development environment including a device
emulator, tools for debugging, memory and performance profiling,
and a plugin for the Eclipse IDE Application framework enabling
reuse and replacement of components Dalvik virtual machine
optimized for mobile devices SQLite for structured data
storage
11. It is a virtual machine to o run on a slow CPU o with
relatively little RAM o on an OS without swap spaceEach App runs on
its own instance of the VM
12. Applications are written in the Java programming
language.Android SDK tools compile the codealong with any data
andresource filesinto an Android package, an archive file with
an.apk suffix.Android system implements the principle of least
privilege.
13. Activity An activity represents a single screen with a user
interface. Launched in different ways : Launcher , Intents
.Services A service is a component that runs in the background.
Used to perform long-running operations or to perform work for
remote processes.Content Providers A content provider manages a
shared set of application data. Allows applications to share
data.Broadcast receivers A broadcast receiver is a component that
responds to system- wide broadcast announcements.
14. Lets the system know what components exist in the
applicationIdentifies required user permissions ( e.g. read
contacts ,internet access )Declares the minimum API versionDeclare
the hardware and software features used ( e.g.Camera, GPS )Declares
application info ( e.g. name , version )
15. Projectsrc res assets gen Android Android Manifest. drawabl
xml e-ldpi drawabl e-mdpi drawabl e-hdpi layouts values
16. Android Different Screen Sizes Low density Medium High
density (120), ldpi density (240), hdpi (160), mdpiSmall screen
QVGA (240x320)Normal screen WQVGA400 HVGA WVGA800 (240x400)
(320x480) (480x800) WQVGA432 WVGA854 (240x432) (480x854)Large
screen WVGA800* (480x800) WVGA854* (480x854)
17. Android Tools to get our hands dirty Eclipse Android ADT
plug-in for eclipse Android SDK
18. Android Hello World
19. Android Resources meetup.com/blrdroid/ Bangalore based
Android group , 800+ members, 8th largest Android Meetup group.
developer.android.com android-developers.blogspot.com
stackoverflow.com/questions/tagged/android
twitter.com/romannurik/android