I have an activity in one application that calls the activity of another application. How can be done with intent or any other way. For example in single application, we can do it like:
Intent i = new Intent(this, ActivityTwo.class);
i.putExtra("Value1", "This value is sent by FirstActivity ");
Declare android action for the Second Activity and call the Second Activity from First Activity through the Action name. For more info see the below example:
Declared Second Activity in AndroidManifest.xml as
Then install the second app first and call the SecondActivity as below:
You can use Intent.setComponent