Online Course Support

Why is the following Intent considered as an “implicit” intent?

Question 1
Why is the following Intent considered as an “implicit” intent?

123
Intent smsIntent = new Intent(Intent.ACTION_SENDTO);
smsIntent.setData(Uri.parse(“smsto:5556”));
smsIntent.putExtra(“sms_body”, “hello”);
1 point

Because the destination and the content are not specified at the creation of the Intent but rather are set afterwards.

It is not an implicit intent. Implicit intents are offered by the ImplicitIntent class.

Because it does not specify the name of a particular target component;
rather it declares a general action to perform, which allows a component
from another app to handle it.

Similar Posts