HOW WILL YOU LAUNCH AN ACTIVITY WITHIN YOU APPLICATION?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 786  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    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 Intent(this, MyTestActivity.class);
            startActivity(intent);

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!