[android-developers] Re: Is it possible to use MonkeyRunner from java

2011-08-02 Thread Nitin Chhabra
w sampleMonkey(); > >     monkey.demo(); > >  } > >  public void demo() > >  { > >     AdbBackend adb = new AdbBackend(); > >     IMonkeyDevice device = adb.waitForConnection(); > > >     // Actions should go here > >     device.touch(200, 200,TouchPressTy

[android-developers] Implement Android MonkeyRunner in Java Only

2011-08-01 Thread Nitin Chhabra
I am able to run MonkeyRunner using Python Scripts on Windows Platform. But I would like to use it in Java, as my test application is being built in Java. I am using MonkeyRunner to automate things only. I can call my Python script using Java to run MonkeyRunner, but that is not a clean solution!

[android-developers] Re: Is it possible to use MonkeyRunner from java

2011-08-01 Thread Nitin Chhabra
Hi Bill/Karthikeyan, Can you please help me out as well in this regard. I am able to run MonkeyRunner using Python Scripts on Windows Platform. But I would like to use it in Java, as my test application is being built in Java. I am using MonkeyRunner to automate things only. I can call my Python s