Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Introduction to Android

1.923 Aufrufe

Veröffentlicht am

Veröffentlicht in: Bildung, Technologie
  • Als Erste(r) kommentieren

Introduction to Android

  1. 1. Mobile Application Development (MAD)Intro to Android platformPlatform ArchitectureApplication Building BlocksDevelopment ToolsHello Android
  2. 2. Few reasons to go MAD…•Smart Phones Internet access anywhere Social networking•Millions of mobile users•Open Standards
  3. 3. Introduction to Android•Open software platform for mobiledevelopment•A complete stack – OS, Middleware,Applications•An Open Handset Alliance (OHA) project•Powered by Linux operating system•Fast application development in Java•Open source under the Apache 2 license
  4. 4. Linux Kernel• Works as a HAL• Device Drivers• Memory Management• Process Management• Networking
  5. 5. Libraries• C/C++ libraries• Interface through Java• Surface Manager – Handling UI Windows• 2D and 3D graphics• Media codes, SQLite, Browser engine
  6. 6. Android Runtime• Dalvik Virtual Machine  Dex files  Compact and efficient than class files  Limited memory and battery power• Core Libraries  Java 5 Std edition  Collections, I/O etc…
  7. 7. Application Framework• API interface• Activity Manager – manages application life cycle.
  8. 8. Applications• Built in and user apps• Can replace built in apps
  9. 9. Application Building Blocks•Activity•Intent Receiver•Service•Content Providers
  10. 10. Activities•Typically correspond to one UIscreen•But, they can: •Be faceless •Be in a floating window •Return a value
  11. 11. Intent Receivers•Components that respond tobroadcast ‘Intents’•Way to respond to externalnotification or alarms•Apps can invent and broadcast theirown Intent
  12. 12. Intents•Think of Intents as a verb and object; adescription of what you want done E.g. VIEW, CALL, PLAY etc..•System matches Intent with Activity that canbest provide the service•Activities and Intent Receivers describe whatIntents they can service
  13. 13. ServicesFaceless components that run inthe background E.g. music player, network download etc…
  14. 14. Content Providers•Enables sharing of data acrossapplications E.g. address book, photo gallery•Provides uniform APIs for: querying delete, update and insert.•Content is represented by URI andMIME type
  15. 15. Development ToolsEclipseAndroid SDK 1.0-2.0 developer.android.com
  16. 16. Network ConnectivityIt supports wireless communications using:  GSM mobile-phone technology  3G  Edge  802.11 Wi-Fi networks
  17. 17. Devices
  18. 18. Application Lifecycle•Application run in their ownprocesses (VM, PID)•Processes are started and stoppedas needed to run an applicationscomponents•Processes may be killed to reclaimresources
  19. 19. Views
  20. 20. Views
  21. 21. Notification Manager
  22. 22. What is the Open Handset Alliance(OHA)???• Devoted to advancing open standards for mobile devices• Develop technologies that will significantly lower the cost of developing and distributing mobile devices and services
  23. 23. LimitationsBluetooth limitationso Android doesnt support:  Bluetooth stereo  Contacts exchange  Modem pairing  Wireless keyboardsFirefox Mobile isnt coming to Androido Apps in Android Market need to be programmed with a custom form of Java Mozilla and the Fennec wont have that