Hi,

I'm going to start taking the same support stance the other android devs on
this list take.  I can't answer private questions, but I can respond to
questions posted on the list.

In this case, you can just use the same device object each time:

device = MonkeyRunner.waitForConnection()
img1 = device.takeSnapshot()
img1 = device.takeSnapshot()
img1 = device.takeSnapshot()

I will warn you that this is very slow.  In my tests, the fastest I could
get was around 3FPS.

Bill

On Tue, Apr 12, 2011 at 11:07 PM, abhilash pujari
<abhilashpuj...@gmail.com>wrote:

> Hi,
>
> i am working on Monkey Runner. I am taking screenshots of device after
> every time.But to minimize time frame of the functionality of MonkeyRunner
> i want to avoid the device connection call everytime.
>
> # Connects to the current device, returning a MonkeyDevice object
>
> device = MonkeyRunner.waitForConnection()
>
> How to handle this ? can it doable in python or can we do it from android ? 
> if yes how to do it?
>
>
> regards
> Abhilash
>
>

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