title: Android sharing Files, by sending them via email or other apps
body: <p>I have a list of files in my android app and I want to be able to get the selected items and send them via email or any other sharing app. Here is my code. </p>
  
  <pre><code>Intent sendIntent = new Intent();
                      sendIntent.setAction(Intent.ACTION_SEND);
                      sendIntent.putExtra(Intent.EXTRA_EMAIL, getListView().getCheckedItemIds());
                      sendIntent.setType("text/plain");
                      startActivity(sendIntent);
  </code></pre>