Hi all,

In my application I need to read Images file size before reading and
send them through the network.
Actually it uses the MediaStore provider in order to read the SIZE
field of the Images.
All works as expected except for some HTC devices (e.g. Legend and
Desire) where the returned SIZE value is not correct (it seems that
only after a device reboot it stores the correct sizes).
For that reason I applied a workaround for such devices that makes use
of the InputStream.available() method in order to get the real Image
size.
I know that it is not the best way to do that but I didn't find
alternatives.

Can somebody help me on that issue?
Carlo

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to