How can I retrieve the last image in the SDcard - Last one captured -
plz, give me a sample code
thanks
How can I retrieve the last image in the SDcard - Last one captured -
plz, give me a sample code
thanks
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.