Your SlideShare is downloading. ×
0
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Android Workshop Day 1 Part 2

948

Published on

Android Internals: The Quickest Overview

Android Internals: The Quickest Overview

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
948
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
151
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Android Application Development Android Internals: A Quick Overview Ahsanul Karim ahsanul.karim@sentinelbd.comWorkshop: Day 1 Part 2 Sentinel Solutions Ltd. http://www.sentinelbd.com http://androidstream.wordpress.com
  • 2. What is Android?An Open Platform for Mobile DevelopmentGoogle’s Andy Rubin describes Android as:The first truly open and comprehensive platform for mobile devices,all of the software to run a mobile phone but without theproprietary obstacles that have hindered mobile innovation Android is a software stack for wide range of devices including mobiles, tablets and televisions that includes an Operating System Middleware Key Applications.
  • 3. The Stack
  • 4. The Stack: Linux KernelAndroid runs of LinuxLinux provides:1. Hardware Abstraction Layer2. Memory Management3. Process Management4. NetworkingUsers never see Linux sub-system(adb shell commands opensLinux shell we’ll see later)
  • 5. The Stack: Linux KernelAndroid runs of LinuxLinux provides:1. Hardware Abstraction Layer2. Memory Management3. Process Management4. NetworkingUsers never see Linux sub-system(adb shell commands opensLinux shell we’ll see later)
  • 6. The Stack: Native LibrariesBionic, a super fast and smallGPL-based libc library optimizedfor embedded use.Surface Manager for composingwindow manager with off-screen buffering.2D and 3D graphics hardwaresupport or software simulation.Media codecs offer support formajor audio/video codecsSQLite databaseWebKit library for fast HTMLrendering
  • 7. The Stack: Android Runtime Dalvik VMEvery Android app runs in its own process,with its own instance of the Dalvik VM. Why Dalvik VM? 1. Optimized 2. Small memory footprints 3. Register based architecture 4. Security 5. Or may be Google’s trick to avoid SUN’s lawsuit
  • 8. The Stack: Application FrameworkActivity Manager controls the lifecycle of the appResource Manager manageseverything that is not the codeLocation Manager figures out thelocation of the phone (GPS, GSM,WiFi)Notification Manager for eventssuch as arriving messages,appointments, etc
  • 9. The Stack: ApplicationsShipped Apps:an email client,SMS program,calendar, maps,browser, contacts etc.Third Party AppsThis is where we are
  • 10. What is Android SDKProvides all necessary tools to develop Android applications. This includes1. a compiler,2. debugger3. a device emulator,4. Own virtual machine to run Android programs. background processing rich user interface library OpenGL libraries access to the file system embedded SQLite database
  • 11. Android SDK FeaturesFeatures/APIsConnectivity+Telephony GSM, EDGE, 3G, 4G, and LTE data transfer+calls+SMSLocation API APIs for GPS and Network based location detectionMAP Controls Full support for map integration+controlsMultimedia Full Multimedia hardware control (camera+recorder+audio+video+still images)Sensors APIs for using sensor hardware including accelerometer, compasses, barometers etc.Bluetooth & NFC Peer to peer communicationC2DM Cloud to Device Messaging (Push Notification)
  • 12. Android SDK FeaturesFeatures/APIsShared Data Stores Shared Data Stores, APIs for contacts, social networks, calendar and multimediaBackground Services Background Services and processesHome Screen Widgets+ LiveWallpaperHTML5 Web-kit browserLocalization FrameworkReuse of ApplicationcomponentSQLite Data storage
  • 13. Android Features (Cont.) Accelerometer GPS Thermal Sensor Your App + With logic to Actuate = Gyroscope Light Sensor TTS Voice Search Magnetic Sensor

×