Your SlideShare is downloading. ×
0
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
Ramakri
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

Ramakri

2,160

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,160
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
146
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 OS Next Generation Mobile Computing 1/4/2010 Seminar By M.S.Rama Krishna(06-5A3)
  • 2. OUTLINE 1/4/2010 2. ARCHITECTURE 3. ANATOMY OF DEVELOPMENT 4. APPLICATION 1. INTRODUCTION
  • 3. What is ANDROID? <ul><li>Mobile Operating System </li></ul><ul><ul><ul><li>based on Linux 2.6 kernel </li></ul></ul></ul><ul><ul><ul><li>July 2005; Google acquired Android Inc. </li></ul></ul></ul><ul><ul><ul><li>5 Nov 2007; Open HandSet Alliance form </li></ul></ul></ul><ul><ul><ul><li>Google, HTC, Intel, Motorola, Qualcomm, T-Mobile </li></ul></ul></ul><ul><ul><ul><li>12 Nov 2007; OHA released a preview of the Android os </li></ul></ul></ul><ul><ul><ul><li>21 oct 2008:Google relese all code under apache license </li></ul></ul></ul><ul><li>Android is a software stack </li></ul><ul><li>Operating System </li></ul><ul><ul><li>Middleware </li></ul></ul><ul><ul><li>Applications Framework </li></ul></ul>1/4/2010
  • 4. Android Features <ul><li>Application Framework </li></ul><ul><li>Enabling reuse & replacement of component </li></ul><ul><li>Dalvik Virtual Machine </li></ul><ul><li>Optimized for mobile devices </li></ul><ul><li>Integrated Browser </li></ul><ul><ul><ul><li>Based on open source WebKit engine </li></ul></ul></ul>1/4/2010
  • 5. Android Features <ul><li>Optimized graphics </li></ul><ul><li>powered by custom 2D graphics library 3D based on openGL </li></ul><ul><li>ES 1.0 specification </li></ul><ul><li>SQlite </li></ul><ul><li>Structured data storage </li></ul><ul><li>Media Support </li></ul><ul><li>common audio,video and image format </li></ul>1/4/2010
  • 6. Android Features <ul><li>GSM telephony (hardware dependant) </li></ul><ul><li>Bluetooth,EDGE,3G,Wi-Fi (hardware dependant) </li></ul><ul><li>Camera ,GPS (hardware dependant) </li></ul><ul><li>Rich Development Environment </li></ul><ul><li>SDK include device emulator, debugger, memory & </li></ul><ul><li>performance profiling , plugin for Eclipse IDE </li></ul>1/4/2010
  • 7. ANDROID ARCHITECTURE 1/4/2010 Fig. Architecture of Android OS
  • 8. Linux Kernel <ul><li>Linux Version 2.6 as - h/w abstraction layer </li></ul><ul><li>Proven driver model </li></ul><ul><li>Security, Memory & Process Management </li></ul><ul><li>Efficient computing resource management </li></ul><ul><li>Stable and proven for mobile platform </li></ul>1/4/2010
  • 9. Libraries <ul><li>Written in C/C++ - System C Library( libc ) </li></ul><ul><li>Surface manager - composing different drawing screens </li></ul><ul><li>Display/Graphics( SGL )-for 2D graphics </li></ul><ul><li>OpenGLES – 3D Graphics Library </li></ul><ul><li>Media Libraries </li></ul><ul><li>SQLite –RDB engine-light weight </li></ul><ul><li>LibWebCore –web browser engine–embeddable web view </li></ul>1/4/2010
  • 10. Android Runtime <ul><li>Includes a set of core libraries that provides most of the functionality- JAVA </li></ul><ul><li>Every Android application runs in its own process </li></ul><ul><li>Dalvik VM executes files in the (.dex) format </li></ul><ul><li>Device can run multiple VMs efficiently </li></ul>1/4/2010
  • 11. Application Framework 1/4/2010 Enable applications access data from other applications Providing access to non-code resources Notification manager Content provider : Resource Manager : Window Manager Manages the lifecycle of applications Activity Manager :
  • 12. Techniques for saving data <ul><ul><li>SQLite Databases : relational database library for storing and managing complex data </li></ul></ul><ul><ul><li>Files : you can create, write, and read files from the local storage or external media (SD Cards) </li></ul></ul><ul><ul><ul><li>FileOutputStream, FileInputStream, and Resources classes. </li></ul></ul></ul>1/4/2010
  • 13. The Dalvik Virtual Machine <ul><li>Interpreter only machine optimized for use on low powered, low memory devices like phones </li></ul><ul><li>Dalvik uses the Java programming language but not the JVM </li></ul><ul><li>Dalvik is not a Java virtual machine. </li></ul><ul><li>It uses bytecode format called “dex”. </li></ul>1/4/2010
  • 14. ANATOMY OF APPLICATION DEVELOPMENT <ul><li>SDK </li></ul><ul><li>Google provide 3 version Windows, Mac OSX and Linux. </li></ul><ul><li>developer can use Android plugin for Eclipse IDE </li></ul><ul><li>step1 :Decompose prospective application into following </li></ul><ul><li>component </li></ul><ul><li>Activity-visual user interface </li></ul><ul><li>Intent Receiver-e-mail inbox </li></ul><ul><li>Sevice –task done in background </li></ul><ul><li>Content Provider-share some data </li></ul><ul><li>step2 :Predefine all component in AndroidManifest.xml file. </li></ul>1/4/2010
  • 15. ANATOMY OF APPLICATION DEVELOPMENT <ul><li>There is the activity Creator script, which generates the following files and folders in your Eclipse workplace: </li></ul><ul><li>- AndroidManifest.xml file </li></ul><ul><li>- Build.xml – an ant file which is used to package an </li></ul><ul><li>application; </li></ul><ul><li>- src/ - source directory </li></ul><ul><li>- bin/ - the output directory </li></ul><ul><li>R.Java file created it index to all above file </li></ul><ul><li>DDMS (Dalvik Debug Monitor Server) </li></ul><ul><li>for debugging & testing </li></ul>1/4/2010
  • 16. DEVELOPMENT TOOL <ul><li>Android Emulator -A virtual mobile device that runs on our computer -use to design, debug, and test our applications in an actual Android run-time environment </li></ul><ul><li>Android Development Tools Plugin -for the Eclipse IDE – adds powerful extensions to the Eclipse integrated environment </li></ul><ul><li>Dalvik Debug Monitor Service (DDMS ) -Integrated with Dalvik -this tool let us manage processes on an emulator and assists in debugging </li></ul>1/4/2010
  • 17. Life cycle of application 04/13/10 MITCOE,Pune <ul><li>A foreground process </li></ul><ul><li>A visible process </li></ul><ul><li>A service process </li></ul><ul><li>A background process </li></ul><ul><li>An empty process </li></ul>
  • 18. APPLICATION 1/4/2010
  • 19. APPLICATION 1/4/2010
  • 20. CONCLUSION <ul><li>Android is a disruptive technology, which was introduced initially on mobile handsets, but has much wider potential. </li></ul>1/4/2010
  • 21. References <ul><li>As the subject is quite new and there are no books and papers published yet, I wrote this report based on the information I found on these web pages </li></ul><ul><li>1. http://code . google. com/android/ - Google Android official webpage </li></ul><ul><li>2. http://www . openhandsetalliance.com/ - Open Handset Alliance webpage </li></ul><ul><li>3. http://en . Wikipedia .org/ wiki/Android_ (mobile_phone_platform) Wikipedia information </li></ul><ul><li>4.http://googleblog.blogspot.com/ - Official Google Blog </li></ul><ul><li>5.http://davanum.wordpress.com – Gtalk code example written by Davanum Srinivas </li></ul><ul><li>Moreover, I found the interesting topics on Google Android browsing Google Groups,and, of course, using Google search by itself. </li></ul>1/4/2010
  • 22. 1/4/2010

×