The way you are setting ringtones looks right.  Setting them on the
aggregate contact is the right way to go.  Can you see any pattern?  Is
there anything in common between the contacts that don't take the ringtone?
Can you set the ringtone on those using the standard Contacts app?

Thank you
Dmitri

On Nov 9, 2009 10:40 AM, "jarkman" <jark...@gmail.com> wrote:

Dmitri - could I ask you another question ?

We are setting custom ringtones for contacts:

Uri contactUri; // eg: content://com.android.contacts/contacts/12

ContentValues values = new ContentValues();
values.put(ContactsContract.Contacts.CUSTOM_RINGTONE,
newRingtoneUri.toString());
context.getContentResolver().update(contactUri, values, where, args );

In the field, this seems to work for some contacts, but not for
others.

Should we be setting the ringtone on the aggregated contact, like
this, or on all the individual raw contacts ?


Thanks again,

Richard

On Nov 5, 8:17 pm, Dmitri Plotnikov <dplotni...@google.com> wrote: > Right.
> > Setting the new phot...

> On Thu, Nov 5, 2009 at 12:04 PM, jarkman <jark...@gmail.com> wrote: > >
Oops! I see what you mean....

> ... > > read more ยป -- You received this message because you are
subscribed to the Google Groups...

-- 
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 this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to