title: Pick any kind of file via an Intent in Android
body: <p>I would like to start an intentchooser for apps which can return any kind of file</p>
  
  <p>Currently I use (which I copied from the Android email source code for file attachment)</p>
  
  <pre><code>Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
  intent.addCategory(Intent.CATEGORY_OPENABLE);
  intent.setType("*/*");
  Intent i = Intent.createChooser(intent, "File");
  startActivityForResult(i, CHOOSE_FILE_REQUESTCODE);
  </code></pre>
  
  <p>But it only shows "Gallery" and "Music player" on my Galaxy S2. There is a file explorer on this device and I would like it to appear in the list. I would also like the camera app to show in the list, so that the user can shoot a picture and send it through my app.
  If I install Astro file manager it will respond to that intent, too. My customers are Galaxy SII owners only and I don't want to force them to install Astro file manager given that they already have a basic but sufficient file manager.</p>
  
  <p>Any idea of how I could achieve this ? I am pretty sure that I already saw the default file manager appear in such a menu to pick a file, but I can't remember in which app.</p>