This is a Cordova and android problem, but I think I can get some help in this forum.
My problem is:
A has an intent with action.PICK. B can use intent filter to catch A’s intent. But how can I use Cordova to setResult and return to A?
In android, we can use intent filter to catch some requests(intents) from other app.
A caller(parent) can call startActivityForResult to start another activity and get a result from it in onActivityResult.
The callee(child) activity can use setResult and finish to return a result to parent.
Is there any advice? Thanks.