Thanks Diego. (Actually Im using your approach with Eclipse but on MAC. Works well. But not manage on Win.)
MonkeyRunner.sleep(1.0) result = device.takeSnapshot() MonkeyRunner.sleep(1.0) This made me perfect screenshot. On Apr 2, 10:43 pm, Diego Torres Milano <dtmil...@gmail.com> wrote: > Add more delay to see it this solves the problem. > > On Apr 2, 1:56 pm, SJ <boris.iva...@gmail.com> wrote: > > > > > > > > > I have also seen not 100% perfect screenshot. > > There is only one function in Monkeyrunner to take Snapshots: > > > com.android.monkeyrunner.MonkeyDevice.takeSnapshot > > Gets the device's screen buffer, yielding a screen capture of the > > entire display. > > > Which function have you mention? > > > On Mar 31, 2:31 am, lbendlin <l...@bendlin.us> wrote: > > > > Are you taking the screenshots from the framebuffer? You may want to use a > > > more higher level function that will only execute when the whole screen is > > > blitted. -- 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