Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to navigate between activities

    • 0
    • 4
    • 0
    • 1
    • 0
    • 0
    • 0
    • 1
    • 187
    Comment on it

    This tutorial describes how to navigate between activities.

    For navigating between activities we use Explicit Intent.
    For this we create a new Intent, specifying the current Activity's context and the class of the Activity to launch. And pass this intent into startActivity, as shown below:-

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

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: