Android Basics S.VISHNU CHARAN 08Q61A0595
PURPOSE OF ANDROID <ul><li>Smart Phones </li></ul><ul><ul><li>Internet access anywhere </li></ul></ul><ul><ul><li>Social n...
Introduction to Android <ul><li>Open software platform for mobile development </li></ul><ul><li>A complete stack – OS, Mid...
 
Linux Kernel <ul><li>Works as a HAL </li></ul><ul><li>Device drivers </li></ul><ul><li>Memory management </li></ul><ul><li...
Libraries <ul><li>C/C++ libraries </li></ul><ul><li>Interface through Java </li></ul><ul><li>Surface manager – Handling UI...
Android Runtime <ul><li>Dalvik VM </li></ul><ul><ul><li>Dex files </li></ul></ul><ul><ul><li>Compact and efficient than cl...
Application Framework <ul><li>API interface </li></ul><ul><li>Activity manager – manages application life cycle. </li></ul>
Applications <ul><li>Built in and user apps </li></ul><ul><li>Can replace built in apps </li></ul>
Application Building Blocks <ul><li>Activity </li></ul><ul><li>IntentReceiver </li></ul><ul><li>Service </li></ul><ul><li>...
Activities <ul><li>Typically correspond to one UI screen </li></ul><ul><li>But, they can: </li></ul><ul><ul><li>Be faceles...
IntentReceivers <ul><li>Components that respond to broadcast ‘Intents’ </li></ul><ul><li>Way to respond to external notifi...
Services <ul><li>Faceless components that run in the background </li></ul><ul><ul><li>E.g. music player, network download ...
ContentProviders <ul><li>Enables sharing of data across applications </li></ul><ul><ul><li>E.g. address book, photo galler...
Development Tools <ul><li>Eclipse </li></ul><ul><li>Android SDK 1.0-2.0 </li></ul><ul><ul><li>developer.android.com </li><...
Devices
Application Lifecycle <ul><li>Application run in their own processes (VM, PID) </li></ul><ul><li>Processes are started and...
 
Lifecycle <ul><li>System Process </li></ul>GMail Contacts Home <ul><li>Home </li></ul><ul><li>Mail </li></ul><ul><li>Brows...
Location Manager
Notification Manager
Views
Views
THANK YOU
Upcoming SlideShare
Loading in …5
×

Android basics

2,584 views

Published on

Published in: Technology, Education
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total views
2,584
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
431
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

Android basics

  1. 1. Android Basics S.VISHNU CHARAN 08Q61A0595
  2. 2. PURPOSE OF ANDROID <ul><li>Smart Phones </li></ul><ul><ul><li>Internet access anywhere </li></ul></ul><ul><ul><li>Social networking </li></ul></ul><ul><li>Millions of mobile users </li></ul><ul><li>Open standards </li></ul>
  3. 3. Introduction to Android <ul><li>Open software platform for mobile development </li></ul><ul><li>A complete stack – OS, Middleware, Applications </li></ul><ul><li>An Open Handset Alliance (OHA) project </li></ul><ul><li>Powered by Linux operating system </li></ul><ul><li>Fast application development in Java </li></ul><ul><li>Open source under the Apache 2 license </li></ul>
  4. 5. Linux Kernel <ul><li>Works as a HAL </li></ul><ul><li>Device drivers </li></ul><ul><li>Memory management </li></ul><ul><li>Process management </li></ul><ul><li>Networking </li></ul>
  5. 6. Libraries <ul><li>C/C++ libraries </li></ul><ul><li>Interface through Java </li></ul><ul><li>Surface manager – Handling UI Windows </li></ul><ul><li>2D and 3D graphics </li></ul><ul><li>Media codecs, SQLite, Browser engine </li></ul>
  6. 7. Android Runtime <ul><li>Dalvik VM </li></ul><ul><ul><li>Dex files </li></ul></ul><ul><ul><li>Compact and efficient than class files </li></ul></ul><ul><ul><li>Limited memory and battery power </li></ul></ul><ul><li>Core Libraries </li></ul><ul><ul><li>Java 5 Std edition </li></ul></ul><ul><ul><li>Collections, I/O etc… </li></ul></ul>
  7. 8. Application Framework <ul><li>API interface </li></ul><ul><li>Activity manager – manages application life cycle. </li></ul>
  8. 9. Applications <ul><li>Built in and user apps </li></ul><ul><li>Can replace built in apps </li></ul>
  9. 10. Application Building Blocks <ul><li>Activity </li></ul><ul><li>IntentReceiver </li></ul><ul><li>Service </li></ul><ul><li>ContentProvider </li></ul>
  10. 11. Activities <ul><li>Typically correspond to one UI screen </li></ul><ul><li>But, they can: </li></ul><ul><ul><li>Be faceless </li></ul></ul><ul><ul><li>Be in a floating window </li></ul></ul><ul><ul><li>Return a value </li></ul></ul>
  11. 12. IntentReceivers <ul><li>Components that respond to broadcast ‘Intents’ </li></ul><ul><li>Way to respond to external notification or alarms </li></ul><ul><li>Apps can invent and broadcast their own Intent </li></ul>
  12. 13. Services <ul><li>Faceless components that run in the background </li></ul><ul><ul><li>E.g. music player, network download etc… </li></ul></ul>
  13. 14. ContentProviders <ul><li>Enables sharing of data across applications </li></ul><ul><ul><li>E.g. address book, photo gallery </li></ul></ul><ul><li>Provides uniform APIs for: </li></ul><ul><ul><li>querying </li></ul></ul><ul><ul><li>delete, update and insert. </li></ul></ul><ul><li>Content is represented by URI and MIME type </li></ul>
  14. 15. Development Tools <ul><li>Eclipse </li></ul><ul><li>Android SDK 1.0-2.0 </li></ul><ul><ul><li>developer.android.com </li></ul></ul>
  15. 16. Devices
  16. 17. Application Lifecycle <ul><li>Application run in their own processes (VM, PID) </li></ul><ul><li>Processes are started and stopped as needed to run an application's components </li></ul><ul><li>Processes may be killed to reclaim resources </li></ul>
  17. 19. Lifecycle <ul><li>System Process </li></ul>GMail Contacts Home <ul><li>Home </li></ul><ul><li>Mail </li></ul><ul><li>Browser </li></ul><ul><li>Map </li></ul>
  18. 20. Location Manager
  19. 21. Notification Manager
  20. 22. Views
  21. 23. Views
  22. 24. THANK YOU

×