Android quiz collection for intermediate level that covers basic android feature and common programming aspects
This quiz is in Android quiz collection.
Start quizWhat are the functionalities of Binder services in android?
What is an anonymous class in android?
What is transient data in android?
What is a thread in android?
What are the return values of onStartCommand() in android services?
What does the following line of code achieve?
Intent intent = new intent(FirstActivity.this, SecondActivity.class);
What is the name of the class used by Intent to store additional information?
To add a new Activity to your application, you need to perform the following steps:
What does the Android project folder "res/' contain?
Consider the following code snippet:
String[] result columns = new String[] {KEY ID, COL1, COL2};
Cursor allRows = myDatabase.query(true, DATABASE_TABLE, result_columns, null, null, null, null, null, null);
Which of the following prints out the values of COL1 column correctly if the result is not empty?
Which of the following information is not included in the Manifest file?
Which of the following lines of code is used to pass a value to the next activity?
Which file specifies the minimum required Android SDK version your application supports?
Which of the following is true about object arrayAdapter declared in the code below?
String[] items = {"Item 1","Item 2","Item 3");
ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, items);
listView.setAdapter(arrayAdapter);
Which of the following WebView methods allows you to manually load custom HTML markup?
Which of the following is a correct Android Manifest statement?
Which of the following is a call-back method that inflates an options menu from file res/menu/menu.xml?
Which of these is NOT recommended in the Android Developer's Guide as a method of creating an individual View?
Which of the following is not a valid Android resource file name?
Which of the following add a click listener to items in a listView?
What does the following line of code do?
Toast toast = Toast.makeText(this,"Android ATC", Toast.LENGTH_LONG);
toast.setGravity(Gravity.TOP|Gravity.RIGH, 0, 0);
Which package of the following does not have classes needed for Android network connections?
Which of the following is NOT true about SQLiteOpenHelper class? (Choose two)
Which of the following is incorrect about the LogCat tool?
© 2017 QuizBucket.org