title: How to set custom tone for message alert of a single contact?
body: <p>I need to set a tone as message alert from my sdcard, to a specific contact in my phone contacts. I tried using this,</p>
  
  <pre><code> RingtoneManager.setActualDefaultRingtoneUri(
                              GCMController.aController,
                              RingtoneManager.TYPE_NOTIFICATION,
                              newUri);
  </code></pre>
  
  <p>But, it sets the notification tone in the settings of my phone, which sets the tone for all incoming sms and calls.
  I want the change of SMS(message) alert to be reflected in the contacts(which has message alert field) for a single person.
  Am able to do the same for ringtones using below code but not for message alert.</p>
  
  <pre><code>ArrayList&lt;ContentProviderOperation&gt; ops1 = new ArrayList&lt;ContentProviderOperation&gt;();
                  ops1.add(ContentProviderOperation.newUpdate(ContactsContract.Contacts.CONTENT_URI)
                          .withSelection(ContactsContract.Contacts._ID + "=?", args)
                          .withValue(ContactsContract.Contacts.CUSTOM_RINGTONE,newUri.toString()).build());
  </code></pre>
  
  <p>can anyone please help me solve this issue.? Thanks in advance.</p>