Which of these is the incorrect folder as a folder that is created automatically after completion of the Android Development Tools Plugin New Project Wizard?
A. dat
B. gen
C. res
D. src
Which class is used when a sensor is accessed?
A. SensorEventListener
B. SensorEvent
C. SensorManager
D. Sensor
Which of these is the incorrect role for an Intent?
A. Start an Activity
B. Start a BroadcastReceiver
C. Start a ContentProvider
D. Start a Service
Which component cannot receive an Intent?
A. Service
B. Activity
C. ContentProvider
D. BroadcastReceiver
Which of these is the correct Android function that can process even in the background?
A. Activity
B. Service
C. View
D. Intent
Which class is not included in the android.net package?
A. ConnectivityManager
B. WifiManager
C. Proxy
D. Networklnfo
Which of these is not defined as a SharedPreferences access mode constant?
A. MODE_WORLD_WRITEABLE
B. MODE_PUBLIC
C. MODE_PRIVATE
D. MODE_WORLD_READABLE
Which of these is the incorrect explanation of AndroidManifest.xml?
A. AndroidManifest.xml is a type of resource file.
B. Components used by an application (such as Activity and Service) are defined in AndroidManifest.xml.
C. Icon names and the application name are specified in AndroidManifest.xml.
D. Android standard settings will be applied if the AndroidManifest.xml file is not present.
Which of these is the correct code to create a Bitmap object using the file res/drawable/image.png?
A. Bitmap img = BitmapFactory.decodeFile(R.drawable.image),
B. Bitmap img = BitmapFactory.decodeResource(R.drawable.image);
C. Bitmap img = new Bitmap(R.drawable.image);
D. Bitmap img = (Bitmap)GraphicsFactory.decodeResouces(R.drawable.image);
Which of these is the correct explanation of zipalign?
A. It is a tool which converts class files into dex files.
B. It is a tool that optimizes apk files.
C. It is a tool that displays the layout file hierarchy.
D. It is a tool that creates and archives apk files.