1 / 27

Handheld Device Open Source OS

Handheld Device Open Source OS. Agenda. Android Overview Wireless application Protocol (WAP) Open Handset Alliance Android Platform Differences Android Platform Developing our first Android App. Android Overview. Linux based operating system Andy Rubin, Rich Miner,

yepa
Télécharger la présentation

Handheld Device Open Source OS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Handheld Device Open Source OS

  2. Agenda • Android Overview • Wireless application Protocol (WAP) • Open Handset Alliance • Android Platform Differences • Android Platform • Developing our first Android App

  3. Android Overview • Linux based operating system • Andy Rubin, Rich Miner, Nick Sears and Chris White founded Android in October 2003 • Google bought Android Inc. in 2005 • Intended for smartphones and tablets

  4. Wireless Application Protocol (WAP) • Standard used in mobile wireless networks for accessing information • WAP Browser is used by mobile phones to access the Internet • Micro-browser just similar to the existing web browsers • Mark-up Language WML • Gateway feature • Telephony functions

  5. WAP Applications • Real-time traffic reporting, hotel recommendations • Travelling reservation systems • Bill payment, fund transfers • Online gaming • Online Shopping, location based offers

  6. Open Handset Alliance (OHA) • Consortium of various members in order to develop an open standard • Google provides a more open environment for users and developers • Internet Model provides freedom of choice • Manufacturers, Mobile Operators, Content Providers • Advantages of Android?

  7. Open Handset Alliance (OHA)

  8. Android Platform • Complete • Open • Free • Familiar & Inexpensive development tools • Android Market i.e. Google Play Store

  9. Evolution

  10. Android Platform • Each handset runs on a Linux OS • Linux 2.6 Kernel handles core system services. • Hardware Abstraction Layer (HAL) • Functions of the Linux Kernel • Low level memory management • Process Management • Permission and Security • Accessing device drivers for display, camera etc.

  11. Architecture • Android App runs in a separate process on a Dalvik Virtual Machine (DVM) • A new user profile is associated with an application. Each App runs a different user • Provides a secure computing environment

  12. Development • Android apps are written in JAVA • Code can be written in C or C++ and later integrated using Native Development Kit (NDK) • Interaction with OS and underlying hardware • Location Manager • Connection Manager

  13. Configuring Developing Environment • Android Apps can be developed on Windows, Macintosh, and Linux based systems • Requirements: • Java Development Kit (JDK) • Java Integrated Development Environment (IDE) • Android Software Development Kit (SDK) • Android Development Tools (ADT)

  14. Documentation • Home: General Starting point. Important announcements and links • SDK: Different SDK versions available • Dev guide: Application design & development • Reference guide: Android API along with classes • Resources: Android technical articles and sample applications • Videos: Access to online videos related to App development • Blog: Access to online blog published by Android Development Team

  15. Android Development Tools Android SDK and AVD Manager • Management of multiple versions of Android SDK • Android Virtual Device (AVD) Configurations

  16. SDK Manager

  17. Android Virtual Device

  18. Android Development Tools Android Emulator • Emulates your mobile device on your computer.

  19. Android Development Tools Dalvik Debug Monitor Server (DDMS) • Command line tool integrated in Eclipse • View and manage processes and threads running on a device Android Debug Bridge • Client Server tool to debug your Android Code on the emulator Android Hierarchy Viewer • Laying out components while developing the GUI

  20. Creating, Running & Debugging • Install Java Development Kit (JDK) • Download and Install Android SDK from http://developer.android.com/sdk/index.html • Installing the Eclipse Plug-in • Installing the SDK Components

  21. Installing the Android Plug-in Help  Install New Software

  22. Installing the Android Plug-in http://dl-ssl.google.com/android/eclipse

  23. Installing the Android Plug-in

  24. Configuring the Android Plug-in • Click on Windows Preferences Android • Browse to where Android SDK Tools are located • Click Apply, then OK

  25. Hello, World • Starting Eclipse • Starting New Project • Writing JAVA Code • Setting up Emulator

More Related