How to create a new folder in android DCIM
<p>I am actually able to capture a photo and to save it in android external storage DCIM folder.</p>

<p>My problem is that I can't create a new folder in it, so <strong>DCIM/MyPic.jpg</strong> became <strong>DCIM/MyFolder/MyPic.jpg</strong>.</p>

<p>Here is my source code :</p>

<pre><code>File f = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM), "address");

if (!f.exists()) {
    f.mkdir();
}

File file = new File(Environment.getExternalStorageDirectory()
     + File.separator
     + "DCIM"
     + File.separator
     + "address"
     + File.separator
     , "IMG_001.jpg");
</code></pre>

<p>Notice that I correctly asked for WRITE_EXTERNAL_STORAGE permission in manifest.</p>

<p>The intent part to capture photo is fine, because I can save it directly to DCIM.</p>

<p>I do not get any error message, but nothing happens... no 'address' folder created :(</p>

<p>Thanks for help :D</p>