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

More Related Content

Andriod

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