public static void sendSound(Context mContext) {  //上下文
Uri mUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); //获取系统默认的notification提示音,Uri:通用资源标志符
Ringtone mRingtone = RingtoneManager.getRingtone(mContext, mUri);
mRingtone.play();
}
05-11 09:41