Semester 6 - Mobile Development Midterm

  1. Android's kernal is derived from a...
    Linux kernal
  2. linux kernal
    • memory management
    • process management
    • networking
    • OS services
  3. Instead of Java using the JVM, what is it compiled to run on instead? Why?
    • Dalvik (.dex)
    • Android's special virtual machine
    • for low memory requirements
  4. Activity Manager
  5. Content Providers
    sharing of information
  6. Resource Manager
    anything for your program that is not code
  7. Notification Manager
  8. Widgets
    operate in a small rectangle in the home screen
  9. Src
    contains the .java files
  10. Gen
    • contains the file
    • references all the resources found in your project
  11. Android 4.0 library
    contains android.jar
  12. android.jar
    contains all the class libraries needed for an Android application
  13. Assets
    contains HTML, text files, databases etc.
  14. Bin
    • contains the files built by the ADT during the build process
    • generates the .apk
  15. .apk
    android package-binary of an android application
  16. Red
    contains all the resources
  17. androidManifest.xml
    • the manifest file
    • mother of all files
    • specify permissions,
    •            android versions,
    •            sdk versions,
    •            activities and
    •            intents
  18. Activity
    a window that contains the user interface
  19. fragment
    "miniature" activities that can be grouped to form an activity
  20. Intent
    • describes a specific action like: pick a photo, phone home
    • the "glue" that enables different activities from different applications to work together
  21. activity manager
    • you can only see 1 application at a time
    • stores records of different programs and screens in the 'application stack'
  22. process != application
    an application may be alive even though the process has been killed
  23. life cycles of a program
    • starting
    • running
    • paused
    • stopped
    • destroyed
  24. building blocks
    • activities
    • intents
    • services
    • content providers
  25. Service
    • a task that runs in the background without the users direct interaction
    • music player
  26. content providor
    • data wrapped in a custom API to read and write it
    • best way to share global data between applications
  27. Resources
    • non code info that your program needs
    • stored in the res directory
    • ie - icons
  28. what makes android safe and secure
    • every application has a userID
    • files cannot be read or written by other apps
    • permissions need to be set in the manifest
    • Linux kernal - forbids process' from accessing memory of another process
  29. Examples of Procedural
    • java swing
    • jframe
    • jbutton
  30. examples of declarative
    • html
    • xml
  31. Framelayout
    • arranges children to they start at the top left of screen
    • used for tabbed views and image switchers
  32. LinearLayout
    • arranges its children in a single column or row
    • most common
  33. RelativeLayout
    • arranges children in relation to eachother or parent
    • used in forms
    • default layout
  34. TableLayout
    • arranges children in rows and columns
    • similar to an html table
  35. ViewFlipper
    • view group displayed horizontally and 
    • only shows one at a time
  36. QuickContactBadge
    badge showing image icon to a contact showing phone, name, email
  37. easiest way to handle changes in layout
    • start with vertical layout
    • in each vertical layout, play a horizontal layout
  38. Toast
    provides simple feedback about an operation in a small group
Card Set
Semester 6 - Mobile Development Midterm
Pre-midterm mobile development