title: cannot access /mnt/sdcard/dcim/camera/
body: <p>hi this question is linked to "<a href="https://stackoverflow.com/questions/19853085/how-to-set-nat-directory-path-in-android-gallery">how to set nat directory path in android gallery</a>"  i tried both the methods specified there but when the apk file was loaded on mobile, i keep getting the msg</p>
  
  <pre><code>Error!
  /mnt/sdcard/DCIM/Camera/ directory path is not valid!
  Please set the image directory name AppConstant.java class
  </code></pre>
  
  <p>I tried this </p>
  
  <pre><code>public static final String PHOTO_ALBUM = "Pictures";
  </code></pre>
  
  <p>where there were some images
  and  this,</p>
  
  <pre><code>public static final String PHOTO_ALBUM = 
  Environment.getExternalStorageDirectory().getPath()+ "/DCIM"+"/Camera/";
  </code></pre>
  
  <p>again there were some images
  so whats wrong?? </p>
  
  <p>1 more thing..
  have added permission to read external source in manifest.java.. am still getting the error.. </p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="info.androidhive.imageslider"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  
  &lt;uses-sdk
      android:minSdkVersion="8"
      android:targetSdkVersion="17" /&gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name="info.androidhive.imageslider.GridViewActivity"
          android:theme="@android:style/Theme.Black"&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;activity
          android:name="info.androidhive.imageslider.FullScreenViewActivity"
          android:theme="@android:style/Theme.Black"&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>