[android-developers] Re: Compare MonkeyImage

2011-04-11 Thread Diego Torres Milano
You may find this post containing an example useful too: http://dtmilano.blogspot.com/2011/04/monkeyrunner-visual-image-comparison.html. The example is using MonkeyImage.loadFromfile() which I added for the reason you mentioned before. On Apr 8, 9:51 pm, Peddi Kanumuri peddi.kanum...@gmail.com

[android-developers] Re: Compare MonkeyImage

2011-04-08 Thread Peddi Kanumuri
Please check this issue @ http://code.google.com/p/android/issues/detail?id=16049 -Peddi. On Apr 7, 4:59 pm, Peddi Kanumuri peddi.kanum...@gmail.com wrote: Bill, How to build just the monkeyrunner.jar with these changes? We are in need of loadImageFromFile API. -Peddi. On Mar 7, 8:02 pm,

Re: [android-developers] Re: Compare MonkeyImage

2011-04-08 Thread Bill Napier
Hi Peddi, Here's an example of the usage of loadImageFromFile: from com.android.monkeyrunner import MonkeyRunner img = MonkeyRunner.loadImageFromFile(path='/home/napier/logo.png') Since loadImageFromFile is something that can be done at any time and really has nothing to do with a device, it

[android-developers] Re: Compare MonkeyImage

2011-04-08 Thread Peddi Kanumuri
Thanks Bill ! 'loadImageFromFile' API is working good if I call it as a method of MonkeyRunner. Would not it be good to make this (loadImageFromFile) part of MonkeyImage as 'writeToFile' is part of MonkeyImage (point: both APIs would be part of same parent)? Nonethless, It is working like

[android-developers] Re: Compare MonkeyImage

2011-04-07 Thread Peddi Kanumuri
Bill, How to build just the monkeyrunner.jar with these changes? We are in need of loadImageFromFile API. -Peddi. On Mar 7, 8:02 pm, Bill Napier nap...@android.com wrote: https://review.source.android.com//#change,21478 https://review.source.android.com//#change,21478Adds support for this

Re: [android-developers] Re: Compare MonkeyImage

2011-03-07 Thread Bill Napier
https://review.source.android.com//#change,21478 https://review.source.android.com//#change,21478Adds support for this change. If you check the android source out and build monkeyrunner from that, you should be able to read images from the file system. It will also eventually find its way into

[android-developers] Re: Compare MonkeyImage

2011-03-01 Thread Andrew W. Hill
I know this is an old thread, but I was wondering if MonkeyRunner has the capability to read screenshots from the file system yet. I couldn't find any info on it. Cheers, Andrew On Feb 15, 4:11 pm, Bill Napier nap...@android.com wrote: Hi Christopher, Being able to load an image into