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...

The ________ function evaluates the opposite of a condition

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The ____ statement directs program flow through a group of statements an arbitrary number of times.

A. if B. while C. for D. switch

Computer Science & Information Technology

The ability of any computer to imitate another computer is known as

a. mimicry b. the Imitation Principle c. the Universality Principle d. the Turing test

Computer Science & Information Technology

When Advanced Filter is run, the ________ buttons disappear from the field headings

Fill in the blank(s) with correct word

Computer Science & Information Technology