Android IDE (AIDE) Support Forum

How to use Intent for activity in another folder

Hello everyone, I’m new to java language, please I need your help on how to use Intent for activity that I stored in another folder

You can use the following line

YourActivity.java
startActivity(new Intent(YourActivity.this, AnotherActivity.class));

Don’t forget to add your class in AndroidManifest.xml

It work… Thank you very much buddy

1 Like