I am trying to send contents to an external application and monitor/make assertions/test against the results of the external app.
Opening the external app is trivial, but how do you get a reference to the new activity (from the new application)?
Android: How can I get the current foreground activity (from a service)?
The above link was the closest in terms of content, but it deals with interactions within the same application (or something code that you can access the source and build together).
Are there any robotium/junit/android ways to do this?