Android AND-401 Android Application Development Online Training
Android AND-401 Online Training
The questions for AND-401 were last updated at Feb 02,2025.
- Exam Code: AND-401
- Exam Name: Android Application Development
- Certification Provider: Android
- Latest update: Feb 02,2025
What method you should override to use Android menu system?
- A . onCreateOptionsMenu()
- B . onCreateMenu()
- C . onMenuCreated()
- D . onCreateContextMenu()
What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?
- A . findViewByReference(int id);
- B . findViewById(int id)
- C . retrieveResourceById(int id)
- D . findViewById(String id)
Which of the following is not an Android component (i.e. a point from which the system can enter your application)?
- A . Service
- B . Activity
- C . Layout
- D . Content Provider
During an Activity life-cycle, what is the first callback method invoked by the system?
- A . onStop()
- B . onStart()
- C . onCreate()
- D . onRestore()
Which configuration file holds the permission to use the internet?
- A . Layout file
- B . Property file
- C . Java source file
- D . Manifest file
What does the following line of code achieve?
Intent intent = new Intent(FirstActivity.this, SecondActivity.class );
- A . Creates a hidden Intent
- B . Creates an implicit Intent
- C . Create an explicit Intent
- D . Create an explicit Intent
Which of the following is NOT a valid usage for Intents?
- A . Activate and Activity
- B . Activate a Service
- C . Activate a Broadcast receiver
- D . Activate a SQLite DB Connection.
Which of the following is not a valid Android resource file name?
- A . mylayout.xml
- B . myLayout.xml
- C . my_layout.xml
- D . mylayout1.xml
Which of these is not defined as a process state?
- A . Non-visible
- B . Visible
- C . Foreground
- D . Background
What is the name of the folder that contains the R.java file?
- A . src
- B . res
- C . bin
- D . gen