Chris,
amazing job! I have connected few OS7 devices and now the screenshot comes
crystal clear.
Thank you for your help.
Luca
On Fri, Nov 25, 2011 at 5:45 AM, Chris Frey <cdf...@foursquare.net> wrote:
> Hi Luca,
>
> I've updated the git tree with support for 32bit device screenshots.
>
> They seem to work with my testing here, based on the data you provided.
> Please give it a try and let me know.
>
> Thanks!
> - Chris
>
>
> On Tue, Nov 15, 2011 at 04:10:54PM +0000, Luca Sale wrote:
> > Hi Chris/Nicolas,
> >
> > thanks for the quick response.
> > I've attached the info requested.
> > the device attached was a torch 9860.
> >
> > Cheers,
> > Luca
> >
> >
> >
> > > On Mon, Nov 14, 2011 at 12:49 PM, Luca Sale <m...@lucasale.co.uk> wrote:
> > >
> > > On Mon, Nov 14, 2011 at 12:49:15PM +0000, Luca Sale wrote:
> > > > I recently got a new Torch 9860 and tried to get a screenshot but the
> > > > result was a not so pretty picture.
> > > > Have you guys tested "bjavaloader screenshot" with any of the new
> devices?
> > >
> > > Hi Luca,
> > >
> > > I don't have an OS7 device, so I'm not able to test Barry against it.
> > >
> > > But I've included a patch below which changed bjavaloader screenshot
> into a
> > > raw data capture. If you could run it and send the resulting data
> file,
> > > I may be able to add support to Barry... it seems like it is an image
> format
> > > issue.
> > >
> > > Could you also include the following data captures:
> > >
> > > btool -vl
> > >
> > > bjavaloader deviceinfo
> > >
> > > Thanks!
> > > - Chris
> > >
> > >
> > > diff --git a/tools/bjavaloader.cc b/tools/bjavaloader.cc
> > > index 9e927ac..5dee60f 100644
> > > --- a/tools/bjavaloader.cc
> > > +++ b/tools/bjavaloader.cc
> > > @@ -186,8 +186,8 @@ void GetScreenshot(Barry::Mode::JavaLoader
> *javaloader, const char *filename)
> > >
> > >
> > > // Convert to BMP format
> > > - Data bitmap(-1, GetTotalBitmapSize(info));
> > > - ScreenshotToBitmap(info, image, bitmap);
> > > +// Data bitmap(-1, GetTotalBitmapSize(info));
> > > +// ScreenshotToBitmap(info, image, bitmap);
> > >
> > > // Write BMP file
> > > FILE *fp = fopen(filename, "wb");
> > > @@ -196,7 +196,8 @@ void GetScreenshot(Barry::Mode::JavaLoader
> *javaloader, const char *filename)
> > > }
> > > AutoClose ac(fp);
> > >
> > > - fwrite(bitmap.GetData(), bitmap.GetSize(), 1, fp);
> > > + fwrite(&info, sizeof(info), 1, fp);
> > > + fwrite(image.GetData(), image.GetSize(), 1, fp);
> > > }
> > >
> > > void SaveModule(Barry::Mode::JavaLoader *javaloader, const char
> *filename)
> > >
> > >
>
>
>
>
> >
> ------------------------------------------------------------------------------
> > RSA(R) Conference 2012
> > Save $700 by Nov 18
> > Register now
> > http://p.sf.net/sfu/rsa-sfdev2dev1
> > _______________________________________________
> > Barry-devel mailing list
> > Barry-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/barry-devel
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel