How to retrieve the last image from an SDcard in Android?
How can I retrieve开发者_运维百科 the last image in the SDcard (last one captured)?
To get a handle to the File object representing the root of the SD card's filesystem you can use, Environment.getExternalStorageDirectory().
Listing the files in a directory is relatively straight forward using the File object's listFiles() method.
精彩评论