Correct Answers
Which services are not provided as part of the Android SDK? - Answer-Mapping
services.
Name the class for performing background asynchronous task - Answer-AsyncTask
What method is used to determine how many fingers are being tracked by Android? -
Answer-getPointerCount()
Which of the following Sensor types did the SensorCompass application use? - Answer-
TYPE_MAGNETIC_FIELD and TYPE_ACCELEROMETER.
What is the permission for using the camera? - Answer-android.permission.CAMERA
Which sensor types that can appear in an Android device? - Answer-All of the others
"Time, in milliseconds, to wait before the gesture fades out after the user is done
drawing it" is the description of the following property: - Answer-fadeOffset
What does pressure sensor measure? - Answer-Barometric pressure, which could
detect altitude for example or be used for weather predictions.
How do you specify the minimum version of Android required by your application? -
Answer-Using the minSdkVersion attribute in the AndroidManifest.xml file.
A user who has paid for your application and who has uninstalled it, but not requested a
refund, is NOT allowed to reinstall it later if: - Answer-Google pulls it due to violation of
the rules.
The LVL request is not responsible for providing the following information about the
expansion files that the application requires: - Answer-File size
Which built-in HTML5 object is used to draw on the canvas? - Answer-getContext
Which HTML5 element is used to display a scalar measurement within a known range?
- Answer-<meter>
,Function connection.type will return a list of connection type, they are - Answer-
UNKNOWN, ETHERNET, WIFI, CELL_2G, CELL_3G, CELL_4G, NONE.
What is the difference between PhoneGap and Apache Cordova? - Answer-PhoneGap
is a distribution of Apache Cordova.
______ provides an application with the ability to work with images, either captured
directly from the camera or retrieved from the device's photo repository. - Answer-
Camera PhoneGap API
When comparing the features of Sencha Touch and jQuery Mobile, what the following
statement is true? - Answer-Sencha Touch supports a more MVC style application
design, whereas jQuery mobile will simply be a load of markup and a load of jQuery
script converting your HTML elements into touch friendly interface components.
Which of the following statement is false about Sencha Touch? - Answer-Sencha Touch
is fully based on web standards such as PHP, Python.
1. What is an intent object? - Answer-An Intent object is a bundle of information
2. Intents designate the target component by its name and they are typically used for
application-internal messages. - Answer-Explicit Intents
3. For writing Android code using C/C++, you need to use__________ - Answer-NDK
4. Which one is not a nickname of a version of Android? - Answer-Muffin
5. The R.java file is where you edit the resources for your project - Answer-False
6. Which of the following are UI elements that you can not use in a window in an
Android application? - Answer-SliderBar
7. Which of the following is the parent class for the main application class in an Android
application that has a user interface? - Answer-Activity
8. Intents do not name a target and the field for the component name is left blank -
Answer-Implicit Intents
9. Which of the following should be used to save the unsaved data and release
resources being used by an Android application? - Answer-Activity.onDestroy()
10. The intents can communicate messages among any of the three core components
of an application: - Answer-activities, services, broadcast receivers
, 11. The Intent object is passed to this method to initiate a service or deliver new
instructions to an ongoing service - Answer-Context.startService()
12. Why cannot you run standard Java bytecode on Android? - Answer-Android uses
Dalvik Virtual Machine
13. Which of the following are true about Intent.CALL_ACTION? - Answer-dial + dialled
14. What does the .apk extension stand for? - Answer-Android Package
15. Android is licensed under which open source licensing license? - Answer-
Apache/MIT
16. What is an Activity? - Answer-. A single screen in an application, with supporting
Java code
17. Where will you declare your activity so the system can access it? - Answer-In the
manifest xml file
18. What is contained within the Layout xml file? - Answer-Orientations and layouts that
specify what the display looks like
19. Is it possible to run java source code directly on Android? - Answer-False
20. Where can you define the icon for your Activity? - Answer-. In the manifest xml file
21. Which of the following is NOT a life-cycle methods of an Activity? - Answer-onInit
22. Which of the following is/are appropriate for saving the state of an Android
application? - Answer-Activity.onPause()
23. Does Android support AWT and Swing? - Answer-No
24. The Intent object is passed to this method to launch a new activity or get an existing
activity to do something new - Answer-Context.startActivity()
25. The Intent object is passed to this method to deliver the message to all interested
broadcast receivers - Answer-Context.sendBroadcast()
26. How will you pass data to sub-activities? - Answer-Use Bundles
27. How will you launch an Activity within your application? - Answer-
startActivity(intent);
28. Which of the following are UI elements that you can use in a window in an Android
application? - Answer-TextView