Java tutorial
//package com.java2s; //License from project: Open Source License import android.content.ContentValues; import android.content.Context; import android.net.Uri; import android.provider.MediaStore; public class Main { private final static void updateMeta(Context ctx, Uri uri, String name, long ts) { ContentValues cv = new ContentValues(); cv.put(MediaStore.Images.ImageColumns.DATE_TAKEN, ts); cv.put(MediaStore.Images.ImageColumns.IS_PRIVATE, 1); cv.put(MediaStore.Images.ImageColumns.TITLE, name); ctx.getContentResolver().update(uri, cv, null, null); } }