hi
i noticed that if i want to use file provider to share a file i can do that only from the shared folder (rp.GetSafeDirDefaultExternal("shared") )
i guess its because i create in manifest only the resource for that path:
is it possible to use file provider to share a file directly from File.DirRootExternal ??
thanx, ilan
i noticed that if i want to use file provider to share a file i can do that only from the shared folder (rp.GetSafeDirDefaultExternal("shared") )
i guess its because i create in manifest only the resource for that path:
B4X:
AddApplicationText(
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="$PACKAGE$.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
)
CreateResource(xml, provider_paths,
<external-files-path name="name" path="shared" />
)
is it possible to use file provider to share a file directly from File.DirRootExternal ??
thanx, ilan