How can I display a specific folder in Android Gallery3D (cooliris)?
I'm using Gallery3D (froyo-stable) I'm trying to make a little app that displays only images from a specific folder in a gallery view. Uri targetUri = Media.EXTERNAL_CONTENT_URI; String folderPath = Environment.getExternalStorageDirectory().toString() + "/DCIM/"; int folderBucketId = folderPath.toLowerCase().hashCode(); targetUri = targetUri.buildUpon().appendQueryParameter("bucketId", String.valueOf(folderBucketId)).build(); In initializeDataSource() // Creating the DataSource objects. final LocalDataSource localDataSource = new LocalDataSource(Gallery.this, targetUri.toString(), false); But