-2

How can I pass the control from one Activity to another using the explicit Intent? I had an issue in androidManifest.xmnl as it marked the Mainactivity file As an error.

Anand K G
  • 99
  • 1
  • 1
  • 10

1 Answers1

0

If you just want to navigate from one activity to another you can use explicit intent as :

Intent next = new Intent(YourCurrentActivity.this , NextActivity.class);
startActivity(next);
Arslan Ashraf
  • 867
  • 7
  • 12