0

In which of the following cases is the ActivityNotFoundException thrown?

(a). When the Target Activity when started Explicitly is not declared in AndroidMainfest.xml file

(b). When the Target Activity to be started fails to retrieve the incoming intent object

(c). When the Target Activity lacks the <intent-filer> tag inside the AndroidMainfest.xml

(d). None of the above

Peter Haddad
  • 78,874
  • 25
  • 140
  • 134
Priyanka
  • 247
  • 4
  • 19
  • This exception is thrown when a call to startActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent. [DOCS](https://developer.android.com/reference/android/content/ActivityNotFoundException) – Peter Haddad Apr 26 '18 at 09:07
  • So, it is thrown when the activity is not added in the manifest.xml (thus not found) – Peter Haddad Apr 26 '18 at 09:12

0 Answers0