Forum: Cross-Platform-Entwicklung
by Rollo62,
22. Mai 2019
Das freut mich, wieder mal ein Rätselspiel gegen den PC gewonnen :-D
Wenn Du Tokyo und nicht 10.3.1 Rio benutzt dann muss man da wirklich Einiges selber machen.
Rio hat das erzeugen der FileProvider schon drin, man muss nur das Android_Manifest.template löschen,
damit es dann einmal neu erzeugt wird, same file_provider.xml.
Das Setzen des Secure File Sharing Flags bleibt natürlich.
Forum: Cross-Platform-Entwicklung
by Rollo62,
22. Mai 2019
Doch, ich muss die FileProvider Option aktiviert haben (Entitlements Secure File, ...)
Deshalb meinte ich hja das Du mal in den JFileToJURI schaust, da wird das je nach Version umgeschaltet.
if TOSVersion.Check(7) then
begin
LAuthority := Context.getApplicationContext.getPackageName.concat(StringToJString('.fileprovider'));
Result :=...