Prev Question

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?

A.
It sends a result to a new Activity in a Bundle.

B.
It will not compile without adding the INTERNET permission the Manifest file.

C.
It starts any activity in the application that has a WebView in its layout.

D.
When it is executed, the system starts an intent resolution process to start the right Activity.

Prev Question

Leave a Reply

Your email address will not be published. Required fields are marked *