获取默认铃声Uri/
Uri String
Uri sound = RingtoneManager.getDefaultUri(type);
(type = RingtoneManager.TYPE_RINGTONE or RingtoneManager.TYPE_NOTIFICATION or RingtoneManager.TYPE_ALARM
以下同)
获取铃声Uri/
Uri String
String getRingtoneUriPath(int type,int pos){
RingtoneManager manager = new RingtoneManager(mContext);
manager.setType(type);
//workaround to create mCusor inside manager, or raise a segamentation fault while invoking getRingtoneUri, below methods same too
Cursor cursor = manager.getCursor();
Uri uri = manager.getRingtoneUri(pos);
return uri==null? null:uri.toString();
}
获取铃声标题
List getRingtoneTitleList(int type){
List resArr = new ArrayList();
RingtoneManager manager = new RingtoneManager(mContext);
manager.setType(type);
Curs