Getting an array list of all images on SD card
Can someo开发者_如何学Pythonne give me a hint how to get an array list of all images on my SD card?
You need to query the Image media store to retrieve the data.
Cursor c = managedQuery(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
new String[] { /*columns you want */, null, null, null);
c.moveToFirst();
while(!c.isLast()) {
// add some data to your array list
}
精彩评论