Hi ..

i am able to run Monkey runner..below are the
steps i used to run :


Steps to run Monkey Runner :

1 )  Check availablity of Monkey runner tool in Sdk tools folder

2 )  Install jython ( java + python )

3 )  write the jython Script and placed it in a Specified Folder

For example :  help.py


#!/usr/bin/env python

# Imports the monkeyrunner modules used by this program
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice

text = MonkeyRunner.help("html");

f = open('help.html', 'w')
f.write(text);
f.close();


Monkey Runner Command :

its@its-desktop67:~/Android/android-sdk-linux_86/tools$ ./monkeyrunner
/home/its/Desktop/tests/help.py


help.html is created in the below path :
/Android/android-sdk-linux_86/tools



i am working on java Swing..my requirement is to get the screen shot
of emulator screen (i got it by monkey runner ) and display it on java
swing
app....i am facing problem with resizing the image...the image quality
will be effected when resized.... i mean after converting 800*500 to
300*300 the image became blurred .........if you have any idea please
suggest me...

-- 
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