i have a some question.
but i cat't speak english well. please be understandable

i use android sdk 1.5

i want to control android contacts ringtone.
i want to get ringtone list.
i want to know default ringtone directory.
i want to know how get custom ringtone list.

reference "RingtoneManager"

i maked below code (before pushed mp3 file at android emulrator sdcard
root : /sdcard/aaa.mp3 )

Uri ringUri = RingtoneManager.getDefaultUri
(RingtoneManager.TYPE_RINGTONE);
ContentResolver resolver = getContext().getContentResolver();
Cursor rCursor = resolver.query(ringUri, null, null, null, null);
RingtoneManager rManager = new RingtoneManager(getContext());
Cursor cursor = rManager.getCursor();

but "rCursor.getCount() = 0", "cursor.getCount() = 0"

how do i make code?
-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.


Reply via email to