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
himanshupatel
Posts: 72
Registered: ‎04-07-2010
My Device: Blackberry 9800

Open Image Selector/Thumbnail File Browser

[ Edited ]

2423iFE636528B0D2EFAB2422i92700FEFA18A092AHi All,

 

I need to open Image Selector from my Application like the way Blackberry "Contacts" provides in Add Picture while working with contact. 

 

Also gtalk & facebook application provides same thumbnail image selector.

 

I have spent lot of time in searching different forums but not getting exact solution. 

Appreciate any help in this direction.

 

NOTE: I have to support all OS > 4.2.0.

 

Thanks

Himanshu


Snap shots

 

 



 

 

Developer
StevenKader
Posts: 648
Registered: ‎02-03-2010
My Device: Z10 LE

Re: Open Image Selector/Thumbnail File Browser

Pretty sure this isn't possible in earlier OS.  May be available in 5.0.  Let me know if you  still need help even though may only be supported in later OS.


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Developer
himanshupatel
Posts: 72
Registered: ‎04-07-2010
My Device: Blackberry 9800

Re: Open Image Selector/Thumbnail File Browser

Hi Steven,

 

Thanks for reply.

 

Please provide any details for this issue.

 

- Himanshu

BlackBerry Development Advisor
MSohm
Posts: 14,853
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Open Image Selector/Thumbnail File Browser

Merging these two samples should get you close.

 

Display Thumbnails and create a Photo Picker

http://supportforums.blackberry.com/t5/Java-Development/Display-Thumbnails-and-create-a-Photo-Picker...

 

Create a file selection popup screen

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

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
himanshupatel
Posts: 72
Registered: ‎04-07-2010
My Device: Blackberry 9800

Re: Open Image Selector/Thumbnail File Browser

Thanks Soham ,

I will try the solution & get back if any Queries.

 

Thanks,

 

New Developer
daver69
Posts: 19
Registered: ‎12-23-2009
My Device: Not Specified

Re: Open Image Selector/Thumbnail File Browser

Does any one have a solution to this that performs well with large number of graphic files?

 

Any code I have used basically is unusable due to it consuming far to much time processessing images.

 

I have attempted to use BBThumbs.dat as a possible solution its far far slower that any Rim delivered image selector.

 

http://supportforums.blackberry.com/t5/Java-Development/Thumbnails-work-around/m-p/343870

 

I need an image selector that will perform as well as the Rim delevered image pickers with a few hundred or so 5mp sized images.

 

 

 

Developer
rajeshkparmar
Posts: 104
Registered: ‎08-03-2010
My Device: Blackberry Z10

Re: Open Image Selector/Thumbnail File Browser

Hi MSohm, I have tried the Photo picker but it seems work fine in Simulator but in real device it is load first clock image and afterward it is not displaying anything. Help me for this and let me know what is the issue..

Please mark posts as solved if you found a solution.
Feel free to press the kudos button to thank the user that helped you
BlackBerry Development Advisor
MSohm
Posts: 14,853
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Open Image Selector/Thumbnail File Browser

What BlackBerry Smartphone model and BlackBerry device software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
rajeshkparmar
Posts: 104
Registered: ‎08-03-2010
My Device: Blackberry Z10

Re: Open Image Selector/Thumbnail File Browser

[ Edited ]

I have found problem

 

Thanks a lot


Please mark posts as solved if you found a solution.
Feel free to press the kudos button to thank the user that helped you
Contributor
peebee
Posts: 13
Registered: ‎09-23-2010
My Device: Not Specified

Re: Open Image Selector/Thumbnail File Browser

Before diving into any more development on the Blackberry, has ANYONE been able to successfully recreate the Contacts "Add Picture" dialog successfully?  It appears that many posters here have attempted this feature, but all posters (unless someone can confirm) seem to indicate that even using the BBThumbs.dat method, the code runs too slowly on the actual device.

 

Can anyone confirm that the 2 articles that Mark has posted will work (on the actual device and fast enough) if implemented correctly?

 

 

P.S. I am a bit curious how the Facebook app is able to display the exact Thumbnail File Browser as the built-in Blackberry Contacts "Add Picture" function.  Is there an undocumented direct API?  If so, what would it take to get more information? ;-)