Created
May 20, 2012 14:26
-
-
Save modalsoul/2758303 to your computer and use it in GitHub Desktop.
Android UI test sample get current activity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Wait for it to start... | |
Activity mCurrentActivity = getInstrumentation().waitForMonitorWithTimeout(monitor, 5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment