I want to get the name of the captured image with camera.When user click button camera is open fine but i want to get the name of currently captured Image.
This is the Button Click event when user press the button then camera is opened.
fab3.Click += (o, e) =>
{
Intent intent = new Intent(MediaStore.ActionImageCapture);
StartActivityForResult(intent, 0);
CloseFabMenu();
};
And here is i want to read the name of captured image.
protected override void OnActivityResult(int requestCode, [GeneratedEnum] Result resultCode, Intent data)
{
base.OnActivityResult(requestCode, resultCode, data);
//if ((requestCode == PickImageId) && (resultCode == Result.Ok) && (data != null))
//{
switch (requestCode)
{
case 0:
if (resultCode == Result.Ok)
{
Bitmap bitmap = (Bitmap)data.Extras.Get("data");
}
break;
}