I have an Android application in Android Studio. And I\'ve added a library into the application. The button, view, and activities are defined in the library. When I click on the
Include the activity in AndroidManifest.xml.
To access an activity from any other project the easiest way is to pass the whole class name (including package, e.g; "com.myproject.MainActivitiy")
Calling from your library :
Intent intent= new Intent("com.myproject.MainActivitiy");
startActivity(intent);
And in your project manifest declare it like this