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