Which of these is the correct procedure to create and use an SQLite database?
A. Call the ApplicationContext methods createDatabase() and openDatabase(). B. Extend the android.database.sqlite.SQLiteOpenHelper class, implementing the onCreate() method and onUpgrade() methods, then call the getWritableDatabase() method. C. Declare an instance of the android.database.sqlite.SQLiteOpenHelper class and call each of the methods onCreate(), onUpgrade(), and getWritabieDatabase(). D. Implement the android.database.SQLiteOpenHelper interface, writing the implementation of the onCreate() and onUpgrade() methods, and pass it as a parameter to ApplicationContext.createOrOpenDatabase().
B. Extend the android.database.sqlite.SQLiteOpenHelper class, implementing the onCreate() method and onUpgrade() methods, then call the getWritableDatabase() method.
Question 122:
This class extends the View class and overrides the onDraw method. Which of the following will be displayed when executing the source code? (Assume the screen size is 480x320.)
A. Exhibit A B. Exhibit B C. Exhibit C D. Exhibit D
C. Exhibit C
Question 123:
When is written in the manifest file, which is the corresponding Android SDK development environment version?
A. 1.5 and later B. 1.6 and later C. 2.0 and later D. 2.1 and later
D. 2.1 and later
Question 124:
Which configuration file holds the permission to use GPS?
A. Layout file B. Manifest file C. Source file D. Property file
B. Manifest file
Question 125:
Which is the correct combination of (1 )~(3) to describe the Activity Lifecycle?
A. (l)Foreground (2)Background (3)Visible B. (l)Foreground (2)Visible (3)Background C. (1)Visible (2)Background (3)Foreground D. (1)Visible (2)Foreground (3)Background
A. (l)Foreground (2)Background (3)Visible
Question 126:
Which of these is the correct explanation of the Android license form?
A. It is necessary to register with Android Market and pay a license fee in order to develop a paid- for application on Android. B. There is no special provision regarding application license operation on Android. C. If an application is developed using Android, it is not a licensing violation if the source code is not made public. D. Since Android uses libraries licensed in various ways such as GPL, BSD, and LGPL, applications developed under Android are subject to the severest license, GPL.
C. If an application is developed using Android, it is not a licensing violation if the source code is not made public.
Question 127:
Which operation is required when debugging on a handset through the network using the Android Debug Bridge(adb)?
A. Set the port number to be used as5554. B. Specify the handset's IP address as an adb startup option. C. Set the environmental variable ADBHOST as the handset's IP address. D. Check "Allow ADB debug connection" on the handset settings.
C. Set the environmental variable ADBHOST as the handset's IP address.
Question 128:
Which is the correct explanation of ListView?
A. It is necessary to use ListView as a set with ListActivity. B. There is a function in ListView which displays a message when there is no information to be displayed. C. When displaying an array using an Adapter class in ListView, it is necessary to convert it into a Collection class. D. ListView has a function to display a list of uniquely defined Views other than TextView.
D. ListView has a function to display a list of uniquely defined Views other than TextView.
Question 129:
Which of these is the data type not supported by SOLite database which can be used by Android?
A. INTEGER B. REAL C. BLOB D. VARCHAR
D. VARCHAR
Question 130:
Which of these is the incorrect explanation of Android license form?
A. The libraries included in the Android platform all share the same license. B. Android uses Linux, which is licensed under the GPL. C. Apache License 2.0 applies to most parts of the Android platform, excluding Linux. D. Applications developed for Android can be licensed under the GPL.
A. The libraries included in the Android platform all share the same license.
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only Android exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your OA0-002 exam preparations
and Android certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.