Saturday 7 May 2016

How Will You Launch an Activity Within You Application ?

For launching an application, we will need to create an intent that explicitly defines the activity that we wish to start. For example:

       Intent intent = new (this,MyActivity.class);
       startActivity(intent);

No comments:

Post a Comment