Download
android n.
Skip this Video
Loading SlideShow in 5 Seconds..
Android PowerPoint Presentation

Android

288 Vues Download Presentation
Télécharger la présentation

Android

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Android - A Fairy Tail

  2. Outline • Android – A brief History • Android Internals • Why you should care about Android • Android App in 10 Minutes • The Future

  3. CS C314 Software Development For Portable Devices

  4. Android Journey Founded by • Andy Rubin (co-founder of Danger), • Rich Miner(co-founder of Wildfire Communications, Inc.), • Nick Sears (once VP at T-Mobile) • Chris White (headed design and interface development at WebTV)

  5. "...smarter mobile devices that are more aware of its owner's location and preferences“ -Andy Rubin(Senior VP Mobile, Google)

  6. Google’s Vision Or Desperation

  7. Google buys Android - August 2005

  8. Google’s Master Plan • Make the cloud more accessible • Keep connectivity pervasive • Make the client more powerful

  9. Open Handset Alliance

  10. Open Handset Alliance Novemb

  11. How is Android Different • Great Documentation • Background Tasks • Android Market • Platform Heterogeneity

  12. Getting started

  13. Development Environment • Operating Systems • Windows • Mac • Linux • Eclipse • Android SDK • ADT Eclipse Plugin (Optional) • Native Development Toolkit (Optional)

  14. Which Platform?

  15. Java

  16. "What we've actually been asked to do by Larry and Sergey is to investigate what technical alternatives exist to Java for Android and Chrome. We've been over a bunch of these, and think they all suck. We conclude that we need to negotiate a license for Java under the terms we need.“ - Excepts from internal Google email known as the "Lindholm draft"

  17. Why Java • Popularity – The Most used language in the world • Strong Community • Robust Open Source Tool Chain with a lot of third party libraries

  18. Ways to Develop • Java • Java + C/C++ • C++ : Primarily for Games • HTML + CSS + JavaScript • Scripting

  19. Dalvik Virtual Machine Sun’s standard JVM

  20. Java and Dalvik VM • Java Compiler • Java Compiler • Dex Compiler DalvikExecutables

  21. Key Differences • Register Based vs Stack Based • More efficient and Compact Implementation • Dalvik runs .dex files

  22. Why not Sun’s Standard JVM • License • Mobile Experience • Size : Dalvik Uncompressed is 70% Java Compressed • .class files • Custom made

  23. Why not J2ME

  24. Dex Compiler DalvikExecutables

  25. Application Framework • DalvikExecutables • Resources • Native Libs

  26. What is Android? “ Android is a software stack for mobile devices that includes an operating system, middleware and key applications ”

  27. Android S/W Stack – App Framework

  28. Android S/W Stack – App Framework Core Platform Services, • Activity Manager • Package Manager • Window Manager • Resource Manager • Content Providers • View System

  29. Android S/W Stack – App Framework Hardware Services, • Telephony Service • Location Service • Bluetooth Service • Wi-Fi Service • USB Service • Sensor Service

  30. Java --------> C using JNI • Native Development Toolkit

  31. How does Google earn or benefit from Android?

  32. Android Update History

  33. Android Current

  34. Android Current Distribution Based on data collected on January 4, 2011

  35. Open source project • http://source.android.com • Apache 2.0 and GPL v2 • Git repository

  36. Android SDK • Android emulator • Command line tools • Documentation • Sample Applications

  37. Android emulator (s)

  38. Eclipse plugin • https://dl-ssl.google.com/android/eclipse/

  39. CS C314 Software Development For Portable Devices

  40. Thank you http://jatinpuri.com jatin@jatinpuri.com 9604438132