I have got two applications. I want to create an action where the first app opens the second already launched app.
I found that the code
Intent intent = context.getPackageManager().getLaunchIntentForPackage(packageName);
can bring to front already lauched activity.
But how can the application catch when it was called with intent data?
onNewIntent is not fired. It fires only before