Hi, I'm using MediaStore.Images.Thumbnails in order to show the images
the user have. But i'm not able to get an image through its path. Is
there any way to look for an image using the path?
String [] proj={MediaStore.Images.Thumbnails._ID,
MediaStore.Images.Thumbnails.IMAGE_ID, MediaStore.Images.Media.DATA};
String selection = MediaStore.Images.Media.DATA + " like '%path%'"; //
this doesn't work
cursor =
managedQuery( MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI,
proj, // Which columns to return selection, // WHERE clause;
null,
null); // Order-by clause
Best regards!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en