I am creating an instant app, which include application module, base feature module, instant app module and an another feature module. Problem is i am not able to access the activities of application module from base-feature and feature module and same between base-feature module and feature module but i am able to access activity of base-feature module from application module.
Right now i am accessing the activities using :
Intent i = new Intent(this,
Class.forName("com.demo.test.appmodule.TextActivity"));
by this method studio don't show me any errors at compile time.
- Is there any other way for communication between two different feature modules?
- Why i am able to access base-feature module activity from application module but not vice versa?
- can we access activities of application module from base or any other feature module?
Can i have a link which define the project structure for an instant app
Thanks in advance