Tuesday 6 January 2015

 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