I wrote some code that take a picture and I want to find the name of the bitmap file that was just taken.
I know how to get the bitmap – but I dont want to get the bitmap – I just need the name of the file that was saved on the sd card.
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
if (requestCode == 0)
{
// This is the file name that i need to find ...
Bitmap image = (Bitmap) data.getExtras().get("data");
You can do this:
Then when you get the result:
The helper method: