标签:
public static void sendSound(Context mContext) { //上下文 Uri mUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); //获取系统默认的notification提示音,Uri:通用资源标志符 Ringtone mRingtone = RingtoneManager.getRingtone(mContext, mUri); mRingtone.play(); }
标签:
原文地址:http://www.cnblogs.com/fortitude/p/4932405.html