Android Intent
Intents are used as a message passing mechanism. It works within your application, between the applications. One of the most common uses for intents is to start new activities. It is either explicitly (by specifying the class to load) or implicitly (by requesting that an action be performed on a piece of data).
Explicit Intent
Implicit Intent
Explicit Intent
startActivity(new Intent(FirstActivity.this,SecondActivity.class));
Implicit Intent
Intent intent = new Intent (Intent.ACTION_DIAL, Uri.parse ("tel: 123-4567")); StartActivity (intent);
Comments
Post a Comment