title: How to set the image directory name in Android?
body: <p>I'm implementing an Android application for thumbnail image in grid-view. I'm creating another class for set the image directory name in String format.</p>
  
  <p>My all images save in <code>Gallery -&gt; My photos</code> OR by default <code>sdcard -&gt; Images -&gt; My photos</code> so I'm using this path String <code>path="/sdcard/Images/My photos/"</code> then I tried different <code>path="/sdcard/My photos/";</code> but then when I run the application and the application is crashed and display the  error message like:</p>
  
  <blockquote>
    <p>path is not valid Please set the image directory name</p>
  </blockquote>
  
  <p>Which path is set to directory name in String?</p>