I am trying to use Android’s FileProvider in a Delphi mobile app. I have studied many examples, but I could not adapt it to Delphi. I did the arrangements in the AndroidManifest.xml file. But I could not adapt the schemes in the code block. Please help me convert this code to Delphi.
Uri photoURI = FileProvider.getUriForFile(context, context.getApplicationContext().getPackageName() + “.my.package.name.provider”, createImageFile());