Hi, I am taking a picture with the camera which is saving with the relative path in a subfolder (Named: imgFolder). After that I want to load that image.
I tried to load it from the PCL project and fail to do it, now I am trying to load it from the android project but I can't either. In android I am trying to check if the file exists and it return false. This is the code:
In Android project:
private void test()
{
var imageName = "photo.jpg";
var documentsPath = Path.Combine(System.Environment.CurrentDirectory, "imgFolder");
var path = Path.Combine(documentsPath, imageName);
if (System.IO.File.Exists(path)) return true;
else return false;
}
how can I find the adecuate path to the image?