How is it possible to restart an activity that was ended using Robotium\'s solo.goBack()
?
The following does not restart the activity: (
As @IHeartAndroid said in his answer to this robotium question (I had not seen it before, there was a link by @Flavio Capaccio in a comment to a "related question"):
launchActivity("com.testRestart", testactivity.class, null);
works. This is a function in InstrumentationTestCase.
(If you want to upvote this answer, upvote his answer as well)