I'm having some trouble accessing attributes like DURATION and
DATE_MODIFIED of video and image. My app access these attributes for
both type of data but if I take a picture or shoot a video the related
attributes are not immediately available through content provider e.g.
for DURATION for that specific video it returns 0.

If I restart the phone the attribute for the newly shoot video or
picture taken becomes available.

The other way to make the attributes available is to plug in and out
your phone to a computer through usb cable. Once that is done the
attributes are available.

Any comments on why this is happening ?

Is this a bug ? I need a resolution for this.

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