[android-developers] set the different ringtone for an single contact

2012-07-20 Thread David Toledo
Hi All How can I set the different ringtone for an single contact from address book? Thanks David -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] set the different ringtone for an single contact

2012-07-20 Thread David Toledo
I answer myself, maybe is the solution from problem, the following private void changeTonetoContact(int contactId,String uriString) { ContentValues values = new ContentValues(); values.put(ContactsContract.Contacts.CUSTOM_RINGTONE, uriString);