android RingtoneManager 铃声管理器
获取默认铃声Uri/ Uri String |
Uri sound = RingtoneManager.getDefaultUri(type); |
获取铃声Uri/ Uri String |
String getRingtoneUriPath(int type,int pos){ //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); |
获取铃声标题 | List<String> getRingtoneTitleList(int type){
List<String> resArr = new ArrayList<String>(); |
获取指定类型的 指定条目铃声操作类 |
Ringtone getRingtone(int type,int pos){
RingtoneManager manager = new RingtoneManager(mContext); |
获取指定类型所有 铃声操作列表 |
List<Ringtone> getRingtoneList(int type){ |