Android Platform Development Fundamentals

Test your knowledge of Android platform development including sensors, networking, permissions, storage, camera, and system services

18 Questions Published

Questions

Question 1 True/False

In a touch Mode, there is always a focus and selection.

  1. True
  2. False
Question 2 True/False

To enable your application to initiate a phone call, you must set permissions in the manifest file as below: Choose the most appropriate answer.

  1. True
  2. False
Question 3 Multiple Choice (Single Answer)

Accelerometers measure acceleration in various directions. Please select the correct answer.

  1. Forward-backward
  2. Left-Right
  3. Up-down
  4. Both a & b above
  5. All of above
Question 4 Multiple Choice (Single Answer)

In which method, you normally stop the camera and release the resources associated to the camera in Android.

  1. SurfaceReleased
  2. SurfaceDestroyed
  3. CameraReleased
  4. None of above
Question 5 Multiple Choice (Single Answer)

In order to use Bluetooth features in your application, you need to declare at least one of two Bluetooth permissions: BLUETOOTH and __________.

  1. BLUETOOTH_READ
  2. BLUETOOTH_ADMIN
  3. BLUETOOTH_WRITE
  4. None of above
Question 6 True/False

Android Browser is based on open source WebKit Engine.

  1. True
  2. False
Question 7 True/False

In order to run any service/activity during phone boot time, you would need following permission to be added in your manifest file. Choose the correct answer.

  1. True
  2. False
Question 8 Multiple Choice (Single Answer)

The following Android Widget helps you to get access to Web Browser.

  1. WebkitView
  2. MapView
  3. WebView
  4. SurfaceView
  5. None of above
Question 9 True/False

Android Networking is principally handled using ConnectivityManager service that monitors the connectivity state.

  1. True
  2. False
Question 10 Multiple Choice (Single Answer)

In Android, SD Card path can be retrieved using _______ method.

  1. Environment.getExternalStorageDirectory()
  2. Context.getExternalStorageDirectory()
  3. Environment.getStorageDirectory()
  4. Context.getStorageDirectory()
  5. None of above
Question 11 Multiple Choice (Single Answer)

To get more details on available active networks, you may call following method(s) in Android

  1. getNetworkInfo()
  2. getNetworkStatus()
  3. getActiveNetworkInfo()
  4. Both, a & b above
  5. Both a & c above
  6. All of above
Question 12 True/False

Vibrator is a system level service accessed through String vService = Context.VIBRATOR_SERVICE; Vibrator vibrator = (Vibrator) getSystemService (vService); Choose the right answer below.

  1. True
  2. False
Question 13 True/False

Accelerometers do not measure velocity, but measure change in acceleration over time

  1. True
  2. False
Question 14 True/False

Each sensor in Android Sensor API is uniquely represented by its own integer Id

  1. True
  2. False
Question 15 True/False

Android Emulator provides a good support for Bluetooth service and USB Connections

  1. True
  2. False
Question 16 Multiple Choice (Single Answer)

__________ represents Android WiFi Connectivity service.

  1. ConnectivityManager
  2. WiFiManager
  3. NetworkManager
  4. None of above
Question 17 Multiple Choice (Single Answer)

What is the name of the virtual machine used in Android?

  1. Dalvik
  2. Java
  3. VMware
  4. PowerVM
Question 18 Multiple Choice (Single Answer)

Integrated browser used in Android is

  1. Webkit
  2. Safari
  3. Firefox
  4. Blazer