title: Set default alarm sound programatically Android
body: <p>I've been trying to define the default alarm sound but with no success! I can sucessfully change the ringtone and the notification sound but the alarm doesn't change at all... I'm using this code for the alarm:</p>
  
  <pre><code>RingtoneManager.setActualDefaultRingtoneUri(getActivity(), RingtoneManager.TYPE_ALARM, Uri.parse(uri+"/"+id));
  </code></pre>
  
  <p>Many thanks!</p>