Premium

Associate Android Developer Certification Questions and Answer (Dumps and Practice Questions)



Question : Which of the following sets the entire Activity window as a WebView?


 : Which of the following sets the entire Activity window as a WebView?
1. WebView webview = new WebView(this);
webview.setAsWindow;

2. setContentView(R.layout.webview);

3. Access Mostly Uused Products by 50000+ Subscribers
setContentView(webview);

4. setContentView("http://www.androidatc.com");


Correct Answer : Get Lastest Questions and Answer :
Explanation:




Question : 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?

 : Consider the following the code:
1. The code is auto generated and should not be edited

2. This method handles clicks and assign actions to menu items

3. Access Mostly Uused Products by 50000+ Subscribers

4. This method inflates an XML file in the res/layout folder into layout.

Correct Answer : Get Lastest Questions and Answer :
Explanation:




Question : Consider the following AndroidManifest.xml file:













Supposing the application connects to the internet at startup, which of the following is true?

 : Consider the following AndroidManifest.xml file:
1. The application throws an exception indicating it does not have permission to access the URL

2. The application will work as intended

3. Access Mostly Uused Products by 50000+ Subscribers

4. The application throws a java.lang.SecurityException

Correct Answer : Get Lastest Questions and Answer :
Explanation:


Related Questions


Question : Which of the following is NOT a correct constructer for ArrayAdapter?

 : Which of the following is NOT a correct constructer for ArrayAdapter?
1. ArrayAdapter(Context context)

2. ArrayAdapter (Context context, int recourse)

3. ArayAdpater (Context context , int resource, int textViewResourceId)

4. ArrayAdapter (Context context , int resource, List items)


Question : Which of the following add a click listener to items in a listView?

 : Which of the following add a click listener to items in a listView?
1. onClickListener.

2. onItemClickListener.

3. onItemClicked.

4. onListItemClickListener


Question : Which of the following makes a ListView Clickable?

 : Which of the following makes a ListView Clickable?
1. setClickable(true)

2. setVisibility(View.Visible)

3. setEnabled(true)

4. setItemsEnabled(true)


Question : Which of the following classes is used by Intent to transfer data between different android components?

 : Which of the following classes is used by Intent to transfer data between different android components?
1. Extras

2. Bundle

3. Parcelables

4. PendingIntent


Question : Which of the following is true about implicit intents? (Choose two)

A. They do not have a component specified
B. They have components specified to run an exact class.
C. They must include information that allows Android system to choose the best component to run.
D. They must contain extra information saved in a Bundle object.
 : Which of the following is true about implicit intents? (Choose two)
1. A,B
2. B,C
3. C,D
4. A,D
5. A,C


Question : Which of the following classes should be extended to create a custom view?

 : Which of the following classes should be extended to create a custom view?
1. View

2. ViewGroup

3. Context

4. Activity