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

  1. i tryed write date tag_datetime,tag_gps_datestamp not work
  2. used jheader library, invented mit writing exif interface not work
  3. 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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -