title: How to write file into DCIM directory exactly where camera does?
body: <p>Suppose I am writing an alternative Camera application and wish to write images exactly into the same place as Camera does and name them exactly in the same name Camera does.</p>
  <p>How would I accomplish this?</p>
  <p>How to know the location of camera files?</p>
  <p>How to know current naming convention?</p>
  <p>How to gain permissions to that directory?</p>
  <p>Any of answer would be appreciated.</p>
  <hr />
  <p>Okay, suppose it is not really camera alternative. Suppose I would like to write formats other than images, like audio, video, or something else.</p>