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
krishnanmurari
Posts: 80
Registered: ‎06-06-2011
My Device: bold 9000
My Carrier: airtel

Error on generating bitmap while Reading thumbs.dat file

Hi All,

 

I have gone through this link and tried to read the EXIF file

 

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

 

But after all conversion to hex form i try to create a bitmap with Bitmap.createBitmapFromBytes(dataBytes, 0, dataBytes.length, 1); it throws illegastateexception and i am unable proceed further.

 

I was wondering how to read this file as i want to display it to device os 5.0 and further.

 

I have also tried to read through a lot of google documents but none are clear enough for me.

 

Please Point me in the correct direction as to how to read the thumbs.dat file properly and how to get the correct byte array to create the bitmap.

 

I am sure that i am too close but unable to get to the end of it.

 

Thanks in advance and please do post anything i would consider any option now 

 

Hoping to hear atleast from few of you...

 

Thanks & Regards

Murari Krishnan R

Please use plain text.
Developer
krishnanmurari
Posts: 80
Registered: ‎06-06-2011
My Device: bold 9000
My Carrier: airtel

Hi Guys,   Please any help would be great. I am tired of...

Hi Guys,

 

Please any help would be great. I am tired of reading document and trying to understand what it is but it is getting me no where.

 

Hopefully someone will reply. Please this is very important.

 

Thanks in advance.

 

Thanks & Regards

Murari Krishnan R.

Please use plain text.