FYI, for monkeyrunner users, check out androidlib.py which is an
extension to the library -

https://github.com/eing/moet/blob/master/common/androidlib.py

>> moet
usage :
moet -d android  [-os os]  [-ic] [-res resolution] [-ic] [-s serial]
[file]
For interactive mode,   use -i
For image capture mode, use -c

>> moet -h -d android

available android commands:

backspaces(num),
enter(string) # supports spaces in strings
scroll('up'/'down'/'left'/'right', num)
back(), home(), menu(),
record(), playback()

touch(x,y), drag(fromX, fromY, toX, toY)
touch('x%','y%'), drag('fromX%', 'fromY%', 'toX%', 'toY%')

connect(serial), getDevice(), launch(appActivity)
screenshot(filename)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to