Java tutorial
//package com.java2s; import android.content.ContentUris; import android.net.Uri; public class Main { public static Uri getSongUri(int id) { String albumId = String.valueOf(id); Uri sArtworkUri = Uri.parse("content://media/external/audio/albumart"); Uri albumArtUri = ContentUris.withAppendedId(sArtworkUri, Integer.valueOf(albumId)); return albumArtUri; } }