Instrumentation.ActivityMonitor (IntentFilter which,
Instrumentation.ActivityResult result,
boolean block)
Instrumentation.ActivityMonitor has 3 parameters. I really don't understand the 2nd parameter. According to the documentation, the result will be returned when the monitor is hit.
My question is where the monitor returns the result to. I thought that it would be returned to onActivityResult() of the activity that started the activity associated the monitor, but it's not.
Does anyone have any advice on it?
May be your result return null as per document it says "Retrieve the result associated with this ActivityMonitor, or null if none." then it returned into
here you can get the result using this method
just try and let me know