Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/18

Click to flip

18 Cards in this Set

  • Front
  • Back

Describe the 4 layers of Android Architechture.

Linux kernel - provides core system services such as Security and Memory Management.




Dalvik vm and Java core libraries - contains Java core libraries for running mobile applications built with Java.




Application Framework - set of rich components that allows applications to be built easily by calling the framework API.




Applications - Mobile applications that are either shipped with the Android OS or developed by a thrid-party.

Describe the difference between the Linux Kernal in an Android OS, and normal Linux systems.

1) Android OS is built on top of the Linux Kernel. Linux Kernel is the core of Android OS. Linux is the full OS.




2) Linux Kernel doesn't include the full set of standard Linux utilities. As a result you can't run any Linux packages on Android.




3) No native windowing in Linux Kernel.




4) Linux Kernel interacts with the hardware and it contains all the essential drivers.

Discuss the steps required for enabling users directly accessing the USB device in Ubuntu system

1) Create a config file under the system directory '/etc/udev/rules.d'.




2) Add 'adb' access protocols in the config file for your device.




3) Add or change 'owner' to your username in Ubuntu system.

What software is required to develop Android Apps in Windows OS?

1) Java Development Kit (JDK)




2) Java Integrated Development Environment (IDE) - Eclipse or Android Studio




3) Android SDK




4) Device configuration for development and debugging




5) Install USB driver for Windows OS

Where is each Android application bundled?

AndroidManifest.xml file

What does the 'AndroidManifest.xml' file do?

States the permissions required by the Android application.

What does the Android OS do with the 'AndroidManifest.xml' file?

Examines the contents to find out what permissions are being requested.

Describe what 'BootLoader' is.

1) Code that is executed before Android OS starts to run.




2) Android devices use 'BootLoader' to instruct the OS Kernel to either boot normally, or into other modes (Such as Recovery mode). Every manufacture has their own version of 'BootLoader'.




3) Normally manufactures lock the 'BootLoader' to stop users installing Custom ROMs. If you unlock the 'BootLoader' you will void your warrenty.




4) Unlocking 'BootLoader' can increase the sevcurity risks such as bypassing pins or passwords.

Describe how to back-up, and install a Custom ROM.

1) Unlock 'BootLoader' if it's locked.




2) Boot to 'BootLoader' and install recovery image




3) Boot into Recovery mode and back up existing Android OS to SD Card




4) Upload new Android OS ROM installation file to SD Card using 'adb push' command




5) Boot to Recovery mode, use 'Install ZIP' option to install new Custom ROM.

Describe how to unlock the 'BootLoader' for Nexus 7?

1) Enable developer options and USB debugging option (adb) on the Android device




2) Connect the device to the computer using the USB cable and authorize the device




3) Reboot the device to 'BootLoader'




4) Run 'fastboot' command to unlock 'BootLoader'

What is Recovery mode?

1) It's a limited boot mode, independant from the Android OS.




2) Depending on the version of recovery installed, some features may not be avaliable. Stock recoveries, which come pre-installed from the manufacture are the most limited




3) In recovery mode you can back up, restore and install Custom ROMs as well as wipe data

Name some of the differences between 'System' apps, and 'User' apps.

1) System apps are located in the '/system/app' directory. This location is 'read-only' for a standard user so that it prevents uninstalling applications




2) User apps are downloaded via the OS's 'App Store'. They could also be installed via other methods such as 'adb' command, email attachments




3) System apps are granted the ability to request certain system-only permissions that are never avaliable through User apps




4) Android lets users move User apps from internal memory to SD Card. Whereas system apps cannot be moved and always take up some internal space

Describe how to remove system apps.

1) Set adb shell to SuperUser in system settings




2) Start 'adb' as 'root' user in Ubuntu terminal




3) Use 'adb' command to remount the Android device




4) Use 'adb' shell command to delete system apps

Describe how to install system apps.

1) Set adb shell to SuperUser in system settings




2) Start 'adb' as 'root' user in Ubuntu terminal




3) Use 'adb' command to remount the Android device




4) Use 'adb' push command to install the app to '/system/app' directory in the Android device

What does the 'Drawable' folder contain?

Images and icon files

What does the 'layout' folder contain?

XML layout files which are used as Android UI defination files

What does the 'raw' folder contain?

Arbitrary files such as media files to save in their raw form

What does the 'values' folder contain?

XML files for simple values. Such as strings, integers and colours.