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
Forums Advisor I
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10
Accepted Solution

problem in viewing pictues saved in folder

Hi i am facing problem in viewing pictures thar are saved in a folder.

Can anyone tell me how to view pictures..

 

Thanks in advance

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

Re: problem in viewing pictues saved in folder

maybe you could specify "problem", difficult to help if you are so vague.
----------------------------------------------------------
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
Posts: 285
Registered: ‎08-26-2011
My Device: 9900

Re: problem in viewing pictues saved in folder

This link wll helps you:

 

Get Bitmap from SDCard

 

You will get the Bitmap from that "getTheImage()" method. Accroding to that you can manage your view.

=================================================================================
Feel free to click LIKE button if the solution helps you;
--
Regards,

ALI SHAIK.
Forums Advisor I
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10

Re: problem in viewing pictues saved in folder

Thanks for the reply Ali Shaik

 

I want to open the folder which includes images..It just opened a single image present in the folder.

 

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

Re: problem in viewing pictures saved in folder

Use the Search, since you are new to BB I expect most of your questions will have already been asked by other people.

 

Anyway, use FIlePicker.  It has some problems in older OS's (use the Search to find out more) in which case, use this:

http://supportforums.blackberry.com/t5/Java-Development/Create-a-file-selection-popup-screen/ta-p/44...

Developer
Posts: 285
Registered: ‎08-26-2011
My Device: 9900

Re: problem in viewing pictues saved in folder

[ Edited ]

I think you are asking about the filePicker .  

 

This links will help you:

 

FILE PICKER

 

filePicker.setPath("file:///SDCard/BlackBerry/pictures/"); 

 

 

Here you can change the path what you want. Then you will get the images from your required folder... 

=================================================================================
Feel free to click LIKE button if the solution helps you;
--
Regards,

ALI SHAIK.