Correct Answer : Get Lastest Questions and Answer : Explanation: When application throw this exception, Maybe you need to check that you added the new activity to the manifest.xml file
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?
1. It sends a result to a new Activity in a Bundle.
2. It will not compile without adding the INTERNET permission the Manifest file.
4. When it is executed, the system starts an intent resolution process to start the right Activity.
Correct Answer : Get Lastest Questions and Answer : Explanation: When the system receives an implicit intent to start an activity, it searches for the best activity for the intent by comparing the intent to intent filters based on three aspects:
The intent action The intent data (both URI and data type) The intent category The following sections describe how intents are matched to the appropriate component(s) in terms of how the intent filter is declared in an app's manifest file.
Question : Which of the following is not true about tag in AndroidManifest file?
1. Declares an activity that implements part of the application's visual user interface