Java tutorial
//package com.java2s; //License from project: Open Source License import android.content.Context; import android.media.RingtoneManager; import android.net.Uri; public class Main { /** * Getter for the current Default Notification Ringtone URI. * @param ctx * @return */ public static Uri getDefaultNotificationRingtoneUri(Context ctx) { return RingtoneManager.getActualDefaultRingtoneUri(ctx, RingtoneManager.TYPE_NOTIFICATION); } }