title: Android: Set Ringtone for existing record in Mediastore.Audio.Media
body: <p>I am able to set the ringtone perfectly, when I insert the row in Mediastore.Audio.Media</p>
  
  <pre><code> newUri = this.getContentResolver().insert(MediaStore.Audio.Media.getContentUriForPath(k.getAbsolutePath()), values); 
  </code></pre>
  
  <p>But for an existing record i.e when am trying to insert the row again, logcat shows me database constraint error 19. So how do I work around this? Basically I need to set a .ogg file from my sound board app as a ringtone, which is already existing in the mediastore database... Any help is appreciated..</p>