I created an Android Studio project, next clicked on File/New/Import module and selected the project directory of an opensource project.
Next, in the build.gradle (app), I added:
dependencies {
compile project(':moduleName')
}
It seems to works, because I have two configurations: one for my project and one for the module. I can run my project or the module, but I would like to start a module activity from my main project when I press on a button. How can I do?
In particular I want to create an application that incorporates this opensource project: https://github.com/schwabe/ics-openvpn
And I would like to start the main activity of that project from one button in the Activity of my application. I want to do this so to not install two applications (the opensource project one and mine), but only one (mine).
Wish you can understand me.