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
Highlighted
Developer
Posts: 73
Registered: ‎07-16-2009
My Device: Bold

Download images from BB Browser

Hi guys,

 

I have this issue. My app requires download "large" images, ~ 600KB. I see that the BB Browser can download the images without problem, so I'm thinking in use the BB Browser API.

 

(I want that my app works to the 4.6 and later)

 

** First aproach:

Implement a BB Browser Plugin.

Problem: Request Entity to Large - Error 413

 

My server doesn't support the Partial Content, and I don't want to cut/split my original images.. so this is not a real option for me.

 

** Second aproach:

Implement a Browser Field / Browser Content.

 

Problem 1: The image to download is showed fine in the BrowserField, BUT is resized. From 640x480, the image is resized to ~ 320x214.

 

Problem 2: How to retrieve the downloaded image from BrowserField?  I only see the method browserContent.getDisplayableContent() , But this returns a Field.

 

 

Thanks for your comments (and sorry for my bad English).