Saving playlist file from application
<p>I'm a newbie in android application. I would like to save an m3u file from my application to a shared folder on the phone, in order to make it available to other applications (music player) and make it survive even if user removes my application.</p>

<p>This is what I tried to do:</p>

<pre><code>String directory = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI.getPath();

File file = new File(directory, filename + ".m3u");
</code></pre>

<p>But it does not work, i get</p>

<pre><code>java.io.IOException: No such file or directory
</code></pre>

<p>What am I doing wrong here?</p>
