title: Direct Path to Raw folder to set as ringtone Android
body: <pre><code>case 64:
                      String path=android.os.Environment.getExternalStorageDirectory().getPath() + "/data/babysounds/res/raw/laugh.mp3";
                      File ringtoneFile = new File(path);
  
                      ContentValues values = new ContentValues();
                      values.put(MediaStore.MediaColumns.DATA, ringtoneFile .getAbsolutePath());
                      values.put(MediaStore.MediaColumns.TITLE, "laugh");
                      values.put(MediaStore.MediaColumns.MIME_TYPE, "audio/mp3");
                      values.put(MediaStore.Audio.Media.ARTIST, "The");
                      values.put(MediaStore.MediaColumns.SIZE, 215454);
                      values.put(MediaStore.Audio.Media.IS_RINGTONE, true);
                      values.put(MediaStore.Audio.Media.IS_NOTIFICATION, false);
                      values.put(MediaStore.Audio.Media.IS_ALARM, false);
                      values.put(MediaStore.Audio.Media.IS_MUSIC, false);
  
                      Uri uri = MediaStore.Audio.Media.getContentUriForPath(ringtoneFile 
                              .getAbsolutePath());
                      getContentResolver().delete(
                              uri,
                              MediaStore.MediaColumns.DATA + "=\""
                                      + ringtoneFile .getAbsolutePath() + "\"", null);
                      Uri newUri = getContentResolver().insert(uri, values);
  
                      RingtoneManager.setActualDefaultRingtoneUri(
                              Context.this, RingtoneManager.TYPE_RINGTONE,
                              newUri);
  
                      break;
  </code></pre>
  
  <p>I got this code to set as ringtone but it's not working. What happens: When I click on listView button, file is created but not set as ringtone. 
  What I want: I want to get direct path to my raw folder and chose files. How can I do that?
  And yes I added permissions</p>