Creating directory in internal storage android
<p>Is it possible to create directory in directory. To create one directory simply call this:</p>

<pre><code>File dir1 = getDir("dir1",Context.MODE_PRIVATE);
</code></pre>

<p>But how to create other directory in <code>dir1</code> ? </p>

<p>this:</p>

<pre><code>File dir2 =getDir("dir1"+"/"+"dir2",Context.MODE_PRIVATE);
</code></pre>

<p>throw exception:</p>

<pre><code>File dirFile = java.lang.IllegalArgumentException: File app_dir1/dir2 contains a path separator
</code></pre>

<p>Thanks.</p>
