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
New Contributor
Posts: 3
Registered: ‎05-06-2010
My Device: Storm
My Carrier: Verizon

Thumbnail Browser

We are trying to write an application that can upload images from the phone to a website.  We are basically trying to simulate part of the interface that the media browser application has where you pick a folder and then see thumbnails for media.  Currently we have to scan the directories and build thumbnails for all media type files.  In the past, we could get thumbnails for some photos out of the bbthumbs.dat files, but OS 5 seems to have changed that and that file is no longer used.  Now the device seems to have a series of .dat and .key files stored in the /Device Memory/appdata/rim/media folder.  The files are named like:

 

thumbs86x86.dat

thumbs86x86.key

thumbs116x116.dat

thumbs116x116.key

thumbs480x480.dat

thumbs480x480.key

 

Does anyone know of a method to parse these files an pull out thumbnails.  Alternatively, is there some java class that basically handles media browsing for us that lets us pick folders like you do in the media browser, then see a list of thumbnails for that folder?  That would be ideal, so we wouldn't have to re-invent the wheel.

 

Thanks in advance....

Developer
Posts: 342
Registered: ‎09-28-2009
My Device: Not Specified

Re: Thumbnail Browser

Bump, I'd like to see a solution.

Developer
Posts: 148
Registered: ‎11-16-2009
My Device: Not Specified

Re: Thumbnail Browser

+1 (RIM, why we can`t use the inbuild picture browser ?? )

New Developer
Posts: 14
Registered: ‎11-02-2009
My Device: 9500 Storm

Re: Thumbnail Browser

+1 still no answer from RIM ?

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

Re: Thumbnail Browser

THis is not a forum for contacting RIM, it is a peer to peer support forum.  If you wish to contact RIM, I suggest you set up an Alliance partnership (there is a free level).

 

Also DevCon usually has roundtable type sessions where you get to harass RIM about things you would like to see. 

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Thumbnail Browser

Take a look at my post in this forum: http://supportforums.blackberry.com/t5/Java-Development/BBThumbs-dat/td-p/443153/highlight/true/page...

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.