HOW WILL YOU LAUNCH AN ACTIVITY WITHIN YOU APPLICATION?

Mayank Tripathi

Total Post:0

Points:0
Posted by  Mayank Tripathi
 1031  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);

      Modified On Mar-28-2018 03:53:14 AM

Answer

NEWSLETTER

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