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
robert30
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900

Problem in image gallery

Hi i want to develop image gallery that displays images in horizontal and vertical scrolable direction.

 

Can anyone help me.Its urgent

 

Thanks

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Problem in image gallery

and your problem is?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
robert30
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900

Re: Problem in image gallery

Hi my problem is i want to display the images in thumbnail format.I have seen that file picker link bt i want to display it in thumbnail can you tell me the code for this??

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: Problem in image gallery

Please be more precise and explain which part of this process you are having problems with. 

 

Look at Bitmap.scaleInto, if you are looking for some code to make a big image smaller. 

Developer
robert30
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900

Re: Problem in image gallery

I want the code for displaying the saved images in thumnail format.

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: Problem in image gallery

BitmapField?

 

This will display any image you want.  But you have to create the thumbnail image yourself. 

Developer
robert30
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900

Re: Problem in image gallery

I am not getting your point.

I have made an application that works similar to camera app.My application captures the image,saves it to a folder and also i have developed the view feature by using filepicker but now i want when i click the view option it displays all the captured images in row and column  and i am not able to do this.

 

now you got my point?

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Problem in image gallery

filepicker is not customizable to do that, you would have to write your own UI with some code that reads all image thumbnails from the bbthumbs.dat and displays them.
see
http://supportforums.blackberry.com/t5/Java-Development/Thumbnails-work-around/m-p/343870
http://supportforums.blackberry.com/t5/Java-Development/BBThumbs-dat/m-p/443153
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
robert30
Posts: 191
Registered: ‎04-02-2013
My Device: BlackBerry Bold 9900

Re: Problem in image gallery

I donot understand the links that you have send me..

Is it possible to display the images in just row and column format??

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: Problem in image gallery

There is no prepared code to do it, you will have to write this yourself.