title: How to get the gallery images path in Android?
body: <p>By using following code I am getting image path in 4.4.4 but, when I am using it in lollipop 5.0.1, it is not working.</p>
  
  <pre><code>String[] proj = {
                  MediaStore.Images.Thumbnails._ID,
                  MediaStore.Images.Thumbnails.DATA,
          };
  
          CursorLoader cursorLoader = new CursorLoader(
          this,  MediaStore.Images.Media.EXTERNAL_CONTENT_URI, proj, null, null, null);        
  
          Cursor imageCursor = cursorLoader.loadInBackground();
  </code></pre>