Exam 1: Android Application Development

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following are constants for Location providers?

(Multiple Choice)
4.8/5
(47)

Which of the following statements is correct about SQLite?

(Multiple Choice)
4.8/5
(35)

Which of the following is true about method startActivity?

(Multiple Choice)
4.9/5
(39)

Which of the following Activity life-cycle methods is invoked when a dialog is shown?

(Multiple Choice)
4.9/5
(30)

Which of the following is NOT a feature provided by the Material Theme?

(Multiple Choice)
4.9/5
(40)

What is a correct statement about an XML layout file?

(Multiple Choice)
4.9/5
(34)

To add a new Activity to your application, you need to perform the following steps:

(Multiple Choice)
4.8/5
(39)

Which package of the following does not have classes needed for Android network connections?

(Multiple Choice)
4.8/5
(31)

What does the following code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class); startActivityForResult(intent);

(Multiple Choice)
4.8/5
(33)

Which of the following statements are NOT needed to adding support for RecyclerView with CardView in your application? (Choose two.)

(Multiple Choice)
4.9/5
(26)

Which Fragment class life-cycle method you must override to define the layout of the fragment?

(Multiple Choice)
4.8/5
(37)

Consider the following the code: public boolean onCreateOptionsMenu(Menu menu) {     MenuInflater inflater = getMenuInflater();     inflater.inflate(R.menu.game_menu, menu);     return true; } Which of the following is true about the code above?

(Multiple Choice)
4.8/5
(24)

Which of the following is a valid attribute of ConstraintLayout?

(Multiple Choice)
4.9/5
(41)

Which of the following methods is used to close an activity?

(Multiple Choice)
4.8/5
(27)

Which folder contains the Android project Java files?

(Multiple Choice)
4.7/5
(41)

What does this code do? Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(android.net.Uri.parse("http://www.androidatc.com")); startActivity(intent);

(Multiple Choice)
4.7/5
(33)

Consider the following: <?xml version="1.0" encoding="utf-8"?> <menu Xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/create_new"        Android:title="@string/create_new" /> <item android:id="@+id/open"        Android:title="@string/open" /> </menu> public boolean onOptionsItemSelected(MenuItem item) {    switch (item.getItemId()) {       case R.id.create_new:       newFile();       return true       default:       return super.onOptionsItemSelected(item);    } } Upon clicking on one of the menu items, the application did not behave as intended. Which of the following might be the cause of this problem? (Choose two)

(Multiple Choice)
4.7/5
(27)

Javascript is enabled by default in a WebView

(True/False)
4.8/5
(32)

What does the following line of code do? Toast toast = Toast.makeText(this,"Android ATC", Toast.LENGTH_LONG); toast.setGravity(Gravity.TOP|Gravity.RIGHT, 0, 0); toast.show(  );

(Multiple Choice)
4.8/5
(36)

Which of the following applies to the onDraw( ) method of class View? (Choose two)

(Multiple Choice)
4.9/5
(34)
Showing 21 - 40 of 224
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)