How to load sdcard images on android to display as gridview

view story

http://stackoverflow.com – am trying to learn android, i saw the gridview example from the android site but i wonder what changes needed to display images as in the example. just instead of using images from drawable folder we use the sdcard images. how could i create an array with the images from the sdcard?? http://developer.android.com/guide/topics/ui/layout/gridview.html thanks, hope you guys can help me out (HowTos)