title: ACTION_VIEW intent for a file with unknown MimeType
body: <p>My app has a feature that browse files on your phone and SD card and open them using other apps. I want a solution where I don't have to specify the MimeType and can work with any type of file.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>Intent myIntent = new Intent(Intent.ACTION_VIEW);
  myIntent.setData(Uri.fromFile(item));
  startActivity(myIntent);
  </code></pre>
  
  <p>However, I'm getting the following error:</p>
  
  <pre><code>android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.PICK dat=file:///sdcard/dropbox/test.pdf }
  </code></pre>