If the system cannot find an activity to handle an Intent’s action, then method startActivity throws an Activity-NotFound-Exception. You can prevent this exception from happening by first using Intent method ________ to determine whether there is an Activity to handle the Intent.

a. findActivity
b. findActivityForIntent
c. resolveActivity
d. resolveActivityForIntent

d. resolveActivityForIntent

Computer Science & Information Technology

You might also like to view...

A(n) ________ structures information in columns and rows on a slide

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is true about headers and footers?

What will be an ideal response?

Computer Science & Information Technology