Android AND-401 Android Application Development Online Training
Android AND-401 Online Training
The questions for AND-401 were last updated at May 09,2025.
- Exam Code: AND-401
- Exam Name: Android Application Development
- Certification Provider: Android
- Latest update: May 09,2025
When using an implicit intent, what process does the system use to know what to do with it?
- A . Intent resolution
- B . Intent declaration
- C . Intent overloading
- D . Intent transition
Which of the following is NOT true about the MenuItem interface?
- A . The MenuItem instance will be returned by the Menu class add(…) method.
- B . MenuItem can decide the Intent issued when clicking menu components.
- C . MenuItem can display either an icon or text.
- D . MenuItem can set a checkbox.
Which of the following is correct about XML layout files?
- A . In order to display a UI defined in the XML layout file “main.xml”, call the setContentView method of the Activity with the parameter string “main.xml".
- B . There is no distinction between implementation of the layout definition by code, or by XML layout file.
- C . In an Eclipse project using the ADT plugin, the XML layout file is found in the /res/layout directory.
- D . Layout information written in the XML layout file will be converted into code by the Android platform when the screen is displayed.
The DalvikVM core libraries are a subset of which of the following?
- A . Java ME
- B . Java SE
- C . Java EE
- D . JAX-WS
Which of the following is correct about file access in the Android system?
- A . Generally, files are handled as dedicated resources per each application.
- B . Files created by an application can be directly accessed by any application.
- C . The content of file created by application cannot be accessed by any other application.
- D . You can only access a file from within an Activity.
Which is the correct explanation of ListView?
- A . It is necessary to use ListView as a set with ListActivity.
- B . You cannot use a ListView when there is no information to be displayed.
- C . When displaying a list of Strings using an ArrayAdapter class in ListView, you must save the value in an ArrayList.
- D . ListView has a function to display a list of uniquely defined Views other than TextView.
Which of following is incorrect about the Toast class?
- A . You cannot set a custom layout for a Toast.
- B . A Toast can only be created by an Activity class C. There is no need to close or hide a Toast, since it closes automatically.
- C . A Toast is displayed for only one of the following periods: Toast.LENGHT_SHORT or Toast.LENGTH_LONG
Which of the following is not a ContentProvider provided natively by Android?
- A . The contacts list
- B . The telephone log
- C . The bookmarks
- D . The application list
When creating a file using android.content.Context.openFileOutput("test.txt", 0), where is the file created?
- A . /data/app/<package name>/files
- B . /data/data/<package name>/files
- C . /system/app/<package name>/files
- D . /system/data/<package name>/files
Which of the following is incorrect about the LogCat tool?
- A . LogCat UI tool is available inside Android Studio.
- B . You can create a log in your application using Log.v(String, String)
- C . Each log message has a tag
- D . Only one of your applications can create log entries, and it should be component class (Activity,Service,…etc)