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
Contributor
Posts: 41
Registered: ‎11-08-2011
My Device: Blackberry Torch

Renamed Thread: How to get JPEG image of entire website using BrowserField

[ Edited ]

*I renamed this thread*

 

Basically, how can I render a web page in a BrowserField and then get a full resolution JPEG of the rendering?

 

*********

 

Hi All,

 

I wish to make a MainScreen that is larger than the Display size of the device.

 

Basically I want to put a BrowserField in the MainScreen, and set to 1:1 ratio and then call Display.Screenshot to get a full resolution image of the web page.

 

Is this possible?

Developer
Posts: 152
Registered: ‎07-28-2011
My Device: Bold 9900

Re: Renamed Thread: How to get JPEG image of entire website using BrowserField

Unfortunately, Display.screenshot() only allows the dimensions of the screen. You will get an IllegalArgumentException if you pass a bitmap with dimensions larger than that of the screen.