Home > DeveloperSection > Interviews > How will you launch an Activity within you application?

Posted on    May-25-2015 11:58 PM

 Android Android 
 1 Answer(s)
  722  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    May-25-2015 11:58 PM

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 Intent(this, MyTestActivity.class);

Don't want to miss updates? Please click the below button!

Follow MindStick