BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-07-2008, 06:14 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2007
Location: Spain
Model: 8100
Carrier: Vodafone
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy canRead return false!

Please Login to Remove!

Hi!

I'm trying to open a photo from my BB for sending it to a web server.

I use canRead method to verify that I can read it. It returns false when I run the app on a Curve, but when I run the app on a Pearl it returns true.
Both BBs are configured to store the photos in internal memory... I think it is a configuration problem...


Thanks
Offline  
Old 04-08-2008, 03:45 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2007
Location: Spain
Model: 8100
Carrier: Vodafone
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have found the solution!!

Blackberry Curve modificates a file name Thumbs.dat after creating any photo. The USN code of the last operation points to this file and not to the photo that I want to send.
USN-1 is the correct code to open the photo.

Blackberry Pearl don't modifiy Thumbs.dat... In Pearl we have to use the USN code.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.