title: Android: open dialog for select audio
body: <p>I need to allow user to select some audiofile from his media library.</p>
  
  <p>Here's what I'm trying to do:</p>
  
  <pre><code>        Intent tmpIntent = new Intent(
                Intent.ACTION_PICK,
                android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI
                );
  
          startActivityForResult(tmpIntent, 0);
  </code></pre>
  
  <p>But I get error:</p>
  
  <pre><code>08-20 17:44:35.444: E/AndroidRuntime(3773): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.PICK dat=content://media/external/audio/media }
  </code></pre>
  
  <p>To be on the safe side, I also tried <code>INTERNAL_CONTENT_URI</code>, but result is similar.</p>
  
  <p>How can I achieve this?</p>
  
  <p><strong>UPD:</strong> by the way, if I try to pass URI to get images (i.e. <code>android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI</code>), then it works: image open dialog is opened.</p>
  
  <p><strong>UPD2:</strong> Just tried this on emulator - my code works! But on two devices it doesn't (SE Xperia Neo and some Acer). But if I try the second variant from <a href="https://stackoverflow.com/questions/10461065/how-to-pickup-an-audio-files-path-or-uri-from-device-in-android/10461112#10461112">this answer</a>, then I got menu with all my existing file-managers, and with "Music select" too! But I need to write Intent just to open this "Music select".</p>