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.
Asked
Active
Viewed 195 times
-2
-
paste your manifest here ? – Arslan Ashraf Nov 26 '15 at 04:43
-
1what do you mean with passing the control from one Activity to another? – TooManyEduardos Nov 26 '15 at 04:49
-
paste complete code so we can help you. – Suhas Bachewar Nov 26 '15 at 04:51
-
I just like to take the control from one activity to another without any internal actions..just navigate – Anand K G Nov 26 '15 at 04:51
1 Answers
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