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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Extron RGB 202xi ADSP Universal Analog, ECL and TTL Computer-Video Interface
$24.79
Extron RGB 202xi ADSP Universal Analog, ECL and TTL Computer-Video Interface pictureExtron RGB-190F Universal Analog Computer-Video Interface
$50.0
Extron RGB-190F Universal Analog Computer-Video Interface pictureComputer Components Springfield Big and Bold Outdoor Thermometer (13.25-Inch)
$13.18
Computer Components Springfield Big and Bold Outdoor Thermometer (13.25-Inch) pictureMeasurement Computing PCIe-DAS1602/16 Analog and Digital I/O Board
$299.0
Measurement Computing PCIe-DAS1602/16 Analog and Digital I/O Board pictureMeasurement Computing PCI-DAS1602/16 Analog and Digital I/O Board
$269.95
Measurement Computing PCI-DAS1602/16 Analog and Digital I/O Board picture






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