title: How can I use Intent.ACTION_VIEW to view the contents of a folder?
body: <p>I'm trying to view the images in a specific folder using an intent. My code is as follows:  </p>
  
  <pre><code>Intent intent = new Intent();  
  intent.setAction(Intent.ACTION_VIEW);  
  Uri imgUri = Uri.parse("file://sdcard/download");  
  intent.setDataAndType(imgUri, "image/*");  
  startActivity(intent);  
  </code></pre>
  
  <p>However, each time it runs, I get this message in the log:</p>
  
  <blockquote>
    <p>02-25 00:40:16.271: ERROR/(8359): can't open '/download'<br>
    02-25 00:40:16.271: ERROR/(8359): can't open '/download'</p>
  </blockquote>
  
  <p>What am I doing wrong? </p>