i'm trying to fetch a thumbnail with picture URI using these code below:
long id = ContentUris.parseId(selectedImageURI);
String[] projection = { MediaStore.Images.Thumbnails.DATA };
Cursor c =
Images.Thumbnails.queryMiniThumbnail(getContentResolver(),
id, Images.Thumbnails.MINI_KIND, projection);
unfortunately, it's always return me the null cursor. finally, i found HTC
hero never generate picture thumbnail under "\sdcard\DCIM\.thumbnails", but
only create a picture under this folder: "\sdcard\DCIM\100MEDIA", which
means i can only get the full size picture. What's am i supposed to do?
create a thumbnail by myself?
--
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