If you got the path from the examples on the web, are you sure your image name or storage folder name is not different?
On Mon, Jul 11, 2011 at 2:25 PM, Axel B <axel.bour...@gmail.com> wrote: > Okay, now I tried to read the EXIF infos of my pictures but I stil > have an error, apparently a problem of path. > Here is the code : > > File myFile = new File("/sdcard/DCIM/100MEDIA/IMAG0001.jpg"); > ExifInterface exif = new ExifInterface(myFile.getCanonicalPath()); > exif.getAttribute(ExifInterface.TAG_DATETIME); > > The first line causes an error : can’t open ‘/mnt/sdcard/DCIM/100MEDIA/ > IMAG0001.jpg’ > I tried several different paths, it's strange, all the examples I > found on the web were using this path... > A little help would be great! :) > Thanks in advance. > > Axel > > On 21 juin, 09:52, Axel B <axel.bour...@gmail.com> wrote: > > Thank you for your answer, I will try that. > > > > On 15 juin, 15:16, Streets Of Boston <flyingdutc...@gmail.com> wrote: > > > > > > > > > > > > > > > > > Have you tried to read the images' EXIF information for the > > > longitude/latitude? > > -- > 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 > -- Raghav Sood http://www.raghavsood.com/ http://wiki.androidappcheck.com/ http://www.telstop.tel/ https://market.android.com/developer?pub=Raghav+Sood -- 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