How do I use this code to modify contact ringtone in android?

Posted by masterkapu on Stack Overflow See other posts from Stack Overflow or by masterkapu
Published on 2010-04-09T13:00:08Z Indexed on 2010/04/09 13:03 UTC
Read the original article Hit count: 353

Filed under:
|

I found that with code/function I can change the contacts ringtone, but I couldn't find how to use it. Can someone help me, How do I do it?

context.getContentResolver().update(contactUri, values, where, args);
ContactsContract.Contacts.CUSTOM_RINGTONE

One more question. when I call from one android simulator to another I don't hear the ringing sound, what could be the problem?

© Stack Overflow or respective owner

Related posts about android

Related posts about ringtone