Java tutorial
//package com.java2s; //License from project: Apache License import android.media.MediaMetadataRetriever; import android.util.Log; public class Main { public static final String LOG_TAG = "MultimediaGridHelper"; public static String getMetadataInfo(MediaMetadataRetriever retriever, int tag) { String value; if (tag != -1) { value = retriever.extractMetadata(tag); Log.d(LOG_TAG, "Return metadata with tag : " + tag + " value: " + value); return value; } retriever.release(); return null; } }