这是代码
File dir = new File(Environment.getExternalStorageDirectory(), "/Audio/MI2.MID");
Uri Note=Uri.fromFile(dir);
RingtoneManager.getDefaultType(Note);
RingtoneManager.isDefault(Note);
RingtoneManager.setActualDefaultRingtoneUri(getApplicationContext(), RingtoneManager.TYPE_RINGTONE, Note);
但它正在设置我手机的默认铃声..