-3

I want to start auto reject list with intent. Like this code:

            Intent intent = new Intent("WHICH SHOULD I WRITE CODE IN HERE?");
            startActivity(intent);

How can I this?

1 Answers1

0

If the first activity is MainActivity and the second activity is SecondActivity:

Intent intent = new Intent(MainActivity.this, SecondActivity.class);
startActivity(intent);
JavierSegoviaCordoba
  • 6,531
  • 9
  • 37
  • 51