I have a MAUI app. I am creating folder call Theme inside the device. and my images are there. When I tried to get the image my path FileSystem.AppDataDirectory shows following file path. So I tried to remove this files part manually and tried but i am getting null value. This theme folder is inside the App folder like files folder.
var themeFolder = Path.Combine("/data/user/0/com.company.android.myproject/files", "Theme");
var filePath = Path.Combine(themeFolder, "logo.png");
if (File.Exists(filePath))
{
return ImageSource.FromFile(filePath);
}
Please correct me is there any mistake. Thank you!