Import images from only camera folder (Android)
<p>In my application i want to display the images from only Camera folder in Gridview.I wrote the following code to import images :-</p>

<pre><code>String[] projection = { MediaStore.Images.Thumbnails._ID, };

        Cursor mImageCursor = getContentResolver().query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, projection, null, null, null ); 

    if (mImageCursor != null)
    {

        mImageCursor.moveToFirst();

        for (int i = 0; i &lt; mImageCursor.getCount(); i++)
        {
            Images im=new Images();
            int imageId = mImageCursor.getInt((mImageCursor.getColumnIndex( MediaStore.Images.Media._ID)));
            Bitmap bm = MediaStore.Images.Thumbnails.getThumbnail(getContentResolver(), 
                    imageId, MediaStore.Images.Thumbnails.MINI_KIND, null);
            im.setBitmap(bm);
            arrayOfImages.add(im);

            mImageCursor.moveToNext();
        }
    }
</code></pre>

<p>But this code import all images from the gallery.
But I want to import images from only camera folder.
p</p>
