Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
MarkusIsMobile
Posts: 41
Registered: ‎07-22-2009
My Device: 9850 Torch 2
Accepted Solution

Screen Capture problem from a PC - JavaLoader error

I am attempting to retrieve screen shots of our application running on a Tourch 9850 using the "screencapture" option in JavaLoader.  I receive the following error:  "Retrieving screen  data ... Error: buffer too small."

 

Does anyone know what buffer the message is refering to, or how to fix it?

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Screen Capture problem from a PC - JavaLoader error

Are you using Javaloader from a 7.0 BlackBerry Java SDK or BlackBerry JDE?

 

What BlackBerry device software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.

 

 

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
MarkusIsMobile
Posts: 41
Registered: ‎07-22-2009
My Device: 9850 Torch 2

Re: Screen Capture problem from a PC - JavaLoader error

v7.0.0.261  Platform 5.0.0.464

 

It's the JavaLoader that came with BB for Eclipse v 1.3.

Developer
StevenKader
Posts: 645
Registered: ‎02-03-2010
My Device: Z10 LE

Re: Screen Capture problem from a PC - JavaLoader error

[ Edited ]

Have you tried taking the screenshots using the menu in the simulator while it is running in the simulator?  That's what I usually do.

 


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Developer
MarkusIsMobile
Posts: 41
Registered: ‎07-22-2009
My Device: 9850 Torch 2

Re: Screen Capture problem from a PC - JavaLoader error

Need shots from real hardware ..

Developer
StevenKader
Posts: 645
Registered: ‎02-03-2010
My Device: Z10 LE

Re: Screen Capture problem from a PC - JavaLoader error

I understand.  I recommend this product to take screenshots or videos of the real device.  There is a free trial and it only costs $36.    It is called Remote Control by SOTI  :  http://www.soti.net/PCProBB/

 

Hope this helps.

 



 




Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Screen Capture problem from a PC - JavaLoader error

Since you are using 7.0, make sure you use javaloader from the 7.0 BlackBerry Java SDK.  Each SDK has its own copy of javaloader.  Look in this directory:

 

Eclipse\plugins\net.rim.ejde.componentpack7.0.0_7.0.0.28\components\bin

 

Older versions of javaloader will fail to capture a screenshot on the 7.0 devices, which have a higher screen resolution.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
MarkusIsMobile
Posts: 41
Registered: ‎07-22-2009
My Device: 9850 Torch 2

Re: Screen Capture problem from a PC - JavaLoader error

Bravo Mr. Sohm .... that did the trick. 

 

I was using the wrong version of the JavaLoader (as I was trying several I feel a bit sheepish that I apparently didn't try v7).

 

I appreciate your suggestion and help - thank you.