Hi everyone, this must be a stupid question but please help me. How can we get the image file path in camera2basic api and display the image on the other activity's imageview? I have been trying to get the "Absolutepath" of the mFile in the project but not getting anything.
After testing the sample, I could get the Absolutepath
of the mFile
in the project.
public override void OnCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureResult result) { // If something goes wrong with the save (or the handler isn't even // registered, this code will toast a success message regardless...) owner.ShowToast("Saved: " + owner.mFile); Log.Debug(TAG, owner.mFile.ToString()); owner.UnlockFocus(); }
What's the problem when you tried to get the "Absolutepath" of the mFile in the project? Could you please post more details about this?
Answers
After testing the sample, I could get the
Absolutepath
of themFile
in the project.What's the problem when you tried to get the "Absolutepath" of the mFile in the project? Could you please post more details about this?