The images can be saved to locations defined by you. Maybe you defined a
location in your app and forgot about it and are trying to use another
location. Also the image names will change as you take more images and want
to use a different one. It is also possible, but unlikely, that you are
saving the images to the phone memory instead of the sdcard.

On Mon, Jul 11, 2011 at 7:42 PM, Axel B <[email protected]> wrote:

> Hello Raghav,
> Thank you for your interest in my issue.
>
> I'm only sure about the name (there is a picture called IMAG0001.jpg),
> and about this folder "DCIM/100MEDIA/", for I checked by exploring on
> computer.
>
> Then I tried different things for the root folder, but since the
> examples all use "sdcard", I thought it was a standard. I would like a
> generic path, that could work on every Android phone, not only mine...
>
> On 11 juil, 12:03, Raghav Sood <[email protected]> wrote:
> > 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 <[email protected]> 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 <[email protected]> wrote:
> > > > Thank you for your answer, I will try that.
> >
> > > > On 15 juin, 15:16, Streets Of Boston <[email protected]>
> 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
> [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
> >
> > --
> > Raghav Soodhttp://
> 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 [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
>



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