views:

276

answers:

1

How can I retrieve the last image in the SDcard - Last one captured -

plz, give me a sample code

thanks

+2  A: 

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.

Adrian