Monday 5 January 2015

What is explicit intent in android ?


Explicit intent is used to invoke the activity class.

In an explicit intent, we actually specify the activity that is required to respond to the intent. In other words, we explicitly designate the target component. This is typically used for application internal messages.

 Intent intent = newIntent (this, SecondActivity.class);

 startActivity(intent);

No comments:

Post a Comment