android - ExifInterface not allow writing the Tag Date Taken -
i developing application of custom camera including image property writing "exifinterface".i got success wrting tag of gps,make,and model got issue date taken
i not found date taken tag exif interface(developer link).
what have tried far ..
- i tryed write date tag_datetime,tag_gps_datestamp not work
- used jheader library, invented mit writing exif interface not work
i used "contentvalues" writing image
public static uri addimageasapplication(contentresolver cr, string name, long datetaken, string directory, string filename, bitmap source, byte[] jpegdata,string filepath) { uri image_uri = mediastore.images.media.external_content_uri; contentvalues values = new contentvalues(7); values.put(images.media.date_taken, datetaken); values.put(images.media.data, filepath); return cr.insert(image_uri, values); }
but not work.
so can please me on this
note : have refer question on stack : cant set date taken/datetime tag using exifinterface in android
thanks
Comments
Post a Comment