ah my bad, I missed that. Very confusing tho, since the documentation says about that column:
public static final String DATA The data stream for the file Type: DATA STREAM Constant Value: "_data" that sounds to me more like a BLOB than a path! On Mar 27, 2:45 pm, Streets Of Boston <flyingdutc...@gmail.com> wrote: > Read my post from yesterday at 10am again :-) > > Execute a query using your content-uri, and use the returned cursor to > obtain the physical file-path (use the ImageColumns.DATA). > > On Mar 27, 9:27 am, matthias <m.kaepp...@googlemail.com> wrote: > > > okay, one solution is to do something like this: > > > String path = Environment.getExternalStorageDirectory > > ().getAbsolutePath() > > + "/dcim/Camera/" + [value of DISPLAY_NAME column for > > this image]; > > > and then do a new File(path).length() > > > but I'm not sure if that path value is portable between Android > > devices. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---