Could I use ExifInterface.java to getAttributes ,put some Exif Tag
into that HashMap, saveAttributes and commitChanges?
For Example:
    ExifInterface exif = new ExifInterface(filePath);
    HashMap<String,String> exifData = exif.getAttributes();
    exifData.put("GPSImgDirection","200");
    exif.saveAttributes(exifData);
    exif.commitChanges();

On Jun 19, 8:24 pm, "Augustin.CL" <iamaugus...@gmail.com> wrote:
> Dear All,
>         Currently, I want to fix the camera apk to make the image
> attached the GPS information. But I find there are some problems.
>         1. First, we can't change the exif information. According 
> tohttp://code.google.com/p/android/issues/detail?id=2415, I modified
> some codes of libexif(external/jhead/main.c). Now, it will show the
> GPS information.
>
>         2.But, when I try to modify the gps information of EXIF, I
> failed to update this information to that image.
>
> "My questions is How I could use the ExifInterface.java of Camera app
> to change the Exif information."
>
> Please give me some advices. Thanks in advanced.
>
> BTW, Does ExifInterface.java use the android/external/jhead/main.c
> over JNI?
>
> Best regards,
> Augustin.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to