title: Not able to create folder with image in android
body: <p>I'm trying to create a folder with an image file.</p>
  
  <p><strong>here is code</strong> </p>
  
  <pre><code>File folder = new    File(Environment.getExternalStorageDirectory().toString()+"/Aqeel/Images");
      folder.mkdirs();
      String extStorageDirectory = folder.toString();
      File file = new File(extStorageDirectory, "Image2.PNG");
      if(!folder.exists()){
          Toast.makeText(MainActivity.this, "Not Exist", Toast.LENGTH_SHORT).show();
      }
  </code></pre>
  
  <p><strong>here is my manifest too</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.bernardo.hellow"&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
  &lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:supportsRtl="true"
      android:theme="@style/AppTheme"&gt;
      &lt;activity
          android:name=".hello"
          android:label="@string/app_name"
          android:theme="@style/AppTheme.NoActionBar"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>I've added the WRITE_EXTERNAL_STORAGE permission but it still does not working.</p>