title: android app set up file sharing
body: <p>I have been working through the Android developer tutorial to send data. This question is with regards to sending binary content.
  I have set up my MainActivity.java file's sendMessage() method as such:</p>
  
  <pre><code>public void sendMessage(View view) {       
          Intent shareIntent = new Intent();
          shareIntent.setAction(Intent.ACTION_SEND);
          shareIntent.putExtra(Intent.EXTRA_STREAM, uriToImage);
          shareIntent.setType("image/jpeg");
          startActivity(Intent.createChooser(shareIntent, getResources().getText(R.string.send_to)));
  }
  </code></pre>
  
  <p>I have set up my AndroidManifest.xml file to include a  tag that grants URI permissions and locates the resource @xml/file_paths (.../xml/file_paths.xml). I have set up .../file_paths.xml to as such:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;paths xmlns:android="http://schemas.android.com/apk/res/android"&gt;
          &lt;files-path name="send_images" path="images/"/&gt;
      &lt;/paths&gt;
  &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>This .xml file references an files/images/ directory and a send_images directory to append to the fileprovider authority. I haven't created a files/images directory, which is the source of my confusion. The tutorial says that they are part of the internal storage area. What is that? Where would I set up these directories? Are the supposed to be created at/during runtime or loaded into the app at compile time?</p>