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
Posts: 777
Registered: ‎07-21-2012
My Device: 9810

How to show small image in big screen after clicking small image...

Hello sir

 

In my app i need to show all camera images on screen (in small size)as a grid like structure .but on clicking  any image  it will show in large screen(full image ) . i thing i need to do work with aspect ratio..?

 

Thanks

 

 

Trusted Contributor
Posts: 151
Registered: ‎06-17-2010
My Device: Curve 8900

Re: How to show small image in big screen after clicking small image...

Hi ravi1989,

You have to create two screen for that.
In the first screen you have to show all the thumbnail pics with the help of GridFieldManager. link

on click of any Image, you have to find out the index and path of that image and redirect the control to second screen with index and file path as a parameter.

Create another screen and dispaly BItmap as you like (i.e Big , small, resized... what ever you want)

 

------------------------------------------------------------------------------

please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!