DOC CHANGE: Fix bug 3416872 in MonkeyRunner doc

Change-Id: Ib655c69c52a84f6fca16a289595459f991099197
This commit is contained in:
Joe Malin
2011-02-02 11:26:09 -08:00
parent 261ddb8120
commit b2cd0c2c0d

View File

@@ -117,7 +117,7 @@ device.startActivity(component='com.example.android.myapplication.MainActivity')
device.press('KEYCODE_MENU','DOWN_AND_UP')
# Takes a screenshot
result = device.takeSnapShot
result = device.takeSnapShot()
# Writes the screenshot to a file
result.writeToFile('myproject/shot1.png','png')