views:

205

answers:

1

Hi,

I need a sample code or tutorial for accessing phone images/media through content provider ?

I know the following, what next ?

ContentResolver cr = mContext.getContentResolver(); Cursor cursor = cr.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, null, null, null, null);

+1  A: 

Found what I was looking for, in case someone else needs to:

http://androidsamples.blogspot.com/2009/06/how-to-display-thumbnails-of-images.html

Tee