a software stack for mobile devices
play

A software stack for mobile devices: OS kernel, system libraries, - PowerPoint PPT Presentation

A software stack for mobile devices: OS kernel, system libraries, application frameworks & key apps Android SDK for creating apps Libraries & development tools Lots of documentation. Start browsing today! See:


  1. A software stack for mobile devices: OS kernel, system libraries, application frameworks & key apps Android SDK for creating apps Libraries & development tools Lots of documentation. Start browsing today! See: http://developer.android.com/ training

  2. Security Memory & process management File & network I/O Device drivers

  3. Power management Android shared memory Low memory killer Interprocess communication And much more

  4. System C library Webkit Bionic libc browser engine Surface Mgr. OpenGL Display Graphics engines management SQLite Media Relational Framework database engine Audio/ Video

  5. Two main components Core Java libraries Dalvik Virtual Machine

  6. basic java classes -- java.*, javax.* app lifecycle -- android.* Internet/Web services -- org. * Unit testing -- junit.*

  7. Apps are executed by the dalvik virtual machine

  8. App written in java compiled to Java bytecode files dx converts java bytecode files to a single dex bytecode file (classes.dex) Dalvik executes dex bytecode file

  9. Designed for resource-constrained environments Slower CPU Less RAM Limited battery life

  10. See: Dalvik VM Internals by Dan Bornstein http://www.youtube.com/watch? v=ptjedOZEXPM

  11. Keeps track of app packages on device

  12. Manages the windows comprising an App

  13. Notification Bar Subwindow Main Window

  14. Provides common user interface elements e.g., icons, text entry boxes, buttons and more

  15. Tabs

  16. TextView Buttons

  17. Manages non-compiled resources e.g., strings, graphics, & layout files

  18. Manages app lifecycle and navigation stack

  19. Inter-application data sharing

  20. Provides location & movement information

  21. Place notification icons in the status bar when important events occur

  22. Notification

  23. Standard apps include: Home – main screen Contacts – contacts database Phone – dial phone numbers Browser – view web pages Email reader –compose & read email messages

  24. Nothing special about these apps You can substitute your own or 3rd party app for any of them

  25. Android Development Environment

  26. A multi-layered software stack for building and running mobile applications

  27. Your workbench for writing Android applications

  28. Installing the Android Developer Tools (ADT) Bundle Using the Eclipse IDE Using the Android emulator Debugging Android applications Other tools

  29. Supported Operating Systems: Windows XP, Vista, or Windows 7 Mac OS X 10.5.8 or later (x86 only) Various Linux distributions See: http://developer.android.com/sdk

  30. Make sure you have the Java Development Kit (JDK6) installed See: http:// www.oracle.com/technetwork/java/ javase/downloads

  31. Download & install the Android Developer Tools (ADT) Bundle See: http://developer.android.com/sdk

  32. Latest Android platform Eclipse + ADT plugin Latest system image for emulator Additional development tools

  33. Runs virtual devices

  34. Pros Doesn’t require an actual phone Hardware is reconfigurable Changes are non-destructive

  35. Cons Can be very slow Some features unavailable e.g., no support for bluetooth or USB connections Performance / user experience can be misleading

  36. Can emulate many different device/ user characteristics, such as: Network speed/latencies Battery power Location coordinates

  37. Emulate incoming phone calls & SMS messages

  38. Can interconnect multiple emulators

  39. Many more options See: http://developer.android.com/guide/ developing/devices/emulator.html

  40. Tool for examining the internal state of a running application

  41. General tools for monitoring application behaviors

  42. DDMS includes File Explorer Logcat Traceview Hierarchyview

  43. Graphically display method traces taken from running application

  44. Shows the runtime organization of the user interface

  45. Application Fundamentals

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend