title: Android: MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA
body: <p>Can any ony give me guidelines on how to find the directory my Android device stores its images takem from a camera;</p>
  
  <p>In the following code snippet, I intend to get a list of files in  prior to launching the camera app. When returning from the camera app get a list of all the files in the same directory and process the newly added ones.</p>
  
  <pre><code>public void onBtnTakePhoto(final View view) {
      existingfiles = UploadImageService.getFiles(&lt;IMAGE_LOCATION&gt;);
      final Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
      startActivityForResult(intent, TAKE_PICTURE);
  }
  
  
  public void onActivityResult(final int requestCode, final int resultCode, final Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
  
      switch (requestCode) {
          case TAKE_PICTURE:
              List&lt;String&gt; newFies = UploadImageService.getFiles(&lt;IMAGE_LOCATION&gt;);
              newFies.removeAll(existingfiles);
              for (String newFile : newFies) {
                  File file = new File(newFile);
                  addImage( Uri.fromFile(file), PictureSource.CAMERA);
              }
              break;
      }
      // regardless of which activity, check that files exist:
      verifyFilesExist(images);
  }
  </code></pre>