AND-401 - Android Application Development

Go back to Google

Example Questions

Which of the following is NOT true about class AsyncTask? Which of the following statements is correct about SQLite? Which of the following methods is called in an Activity when another activity gets into the foreground? Which of the following is true about attribute android:windowSoftInputMode of the <activity> tag in file AndroidManifest.xml? Which of these is the correct explanation regarding the following methods? (1)android.content.Context.sendBroadcast (2)android.content.Context.startActivity Which of the following is a valid sequence of invokes to Activity lifecycle methods? (Select Two) Which of the following is NOT true about the MenuItem interface? Which of the following is a Java call-back method invoked when a view is clicked? Consider the following code: Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(android.net.Uri.parse("http://www.androidatc.com")); startActivity(intent); Which of the following is correct about the code above? What two methods you have to override when implementing Android context menus? Which of the following tools creates certificates for signing Android applications? Which of the following statements about DDMS is incorrect? 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); Which method should you use to start a sub-activity? Which of the following is incorrect about ProgressDialog? Which of these is not defined as a process state? Which of the following is not an Activity lifecycle call-back method? Which UI does the following code builds? <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Name:" /> <EditText android:id="@+id/editText1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:ems="10" /> </LinearLayout> <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Post" /> </LinearLayout> Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-StudyWhich of the following is NOT true about onMeasure() method of class View? Which of the following sets the entire Activity window as a WebView? Which of the following is not a valid Android resource file name? Which of the following information is not included in the Manifest file? If your application is throwing exception android.content.ActivityNotFoundException, how to fix it? Which of the following makes a ListView Clickable? Method onDraw() of class android.view.View has the following signature: When publishing an update to your application to the market, the following must be taken into consideration: Which of the following is the base class of all UI components? The DalvikVM core libraries are a subset of which of the following? What is the parent class of all Activity widgets? Which of the following is true about implicit intents? (Choose two) What Eclipse plugin is required to develop Android application? To create a customized Adapter for a compound list item layout , you should: What does the following code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class); startActivityForResult(intent); To add a new Activity to your application, you need to perform the following steps: Which of the following is not an Android component (i.e. a point from which the system can enter your application)? Which of the following is the correct way to add access permission to your application? Which of these is NOT recommended in the Android Developer's Guide as a method of creating an individual View? Which manifest file permission you should add to allow your application to read the device’s address book? Which of these is the correct function of Traceview? Which of the following is incorrect about intents? What method you should override to use Android menu system? How to enable JavaScript in WebView? Which of the following Activity methods is invoked when the user clicks on an options menu item? Which of the following is correct about file access in the Android system? Which of the following is NOT true about a content provider? What is the name of the folder that contains the R.java file? Which of the following is NOT a correct constructer for ArrayAdapter? 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? Which of the following lines of code starts activity Activity2 from a current activity Activity1? Which of the following add a click listener to items in a listView?

Study Guides