I using monkeyrunner in the Eclipse but now need using python lib PIL
to comparing monkeyrunner cutting image
code like this:
import Image
from com.android.monkeyrunner import MonkeyRunner
device = MonkeyRunner.waitForConnection()
image1 = device.takeSnapshot()
image1.writeToFile('./getimage.png', 'png')
oi = Image.open('./getimage.png')
even in eclipse added pythonpath preferences can't do that
http://goo.gl/suKLm
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en