title: Create multiple directories in Android
body: <p>This is my directory structure on my Android sdcard</p>
  
  <pre><code> sdcard/alQuranData/Reader1/Surah
  </code></pre>
  
  <p>Here is my code to make Directories</p>
  
  <pre><code>File SDCardRoot = new File(Environment.getExternalStorageDirectory().toString() + "alQuranData/Reader1/Surah");
                  Toast.makeText(getApplicationContext(), SDCardRoot.toString(), Toast.LENGTH_LONG).show();
                  if (!SDCardRoot.exists()) {
                      Log.d("DIRECTORY CHECK", "Directory doesnt exist creating directory");
                      SDCardRoot.mkdir();
                  }
  </code></pre>
  
  <p>Now <code>alQuranData</code> is already created in my <code>sdcard</code> root. If i only create Reader1 directory than it works fine, but when is add <code>Reader1/Surah</code> than it did not create. </p>
  
  <p>I also tried <code>mkdirs()</code> but it doesn't work. </p>