title: How to return several files for ACTION_GET_CONTENT?
body: <p>After passing through the system file manager, the file manager I made is able to return a file when asked (say, by K9 email client) through ACTION_GET_CONTENT with this:</p>
  <pre><code>Uri uri = SearchOut.getUriFromFile(this, context.getPackageName(), file);
  Intent intent = new Intent();
  intent.setDataAndType(uri, getContentResolver().getType(uri));
  intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
  intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
  setResult(Activity.RESULT_OK, intent);
  </code></pre>
  <p>K9 gets the file normally.</p>
  <p>My file manager is also able to share multiple files with this:</p>
  <pre><code>ArrayList&lt;Uri&gt; urilist = ...
  Intent shareIntent = new Intent(Intent.ACTION_SEND_MULTIPLE);
  shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
  shareIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, urilist);
  shareIntent.setType(&quot;application/octet-stream&quot;);
  context.startActivity(Intent.createChooser(shareIntent, &quot;Sharing files...&quot;));
  </code></pre>
  <p>Then I can open K9 and loads all the files.</p>
  <p>So how do I return SEVERAL files to K9 when they are requested through ACTION_GET_CONTENT?</p>
  <p>As I wrote above, I know how to send several files with K9, or return 1 file when K9 asks, but I don't know how to return several files when K9 asks. The system file manager does return several files and K9 loads all of them happily.</p>