B4A Question How to get "GetSafeDirDefaultExternal" value without RuntimePermissions lib? - JohnC    Dec 21, 2022 I am developing an app that I want to be as small as possible.
Using the GetSafeDirDefaultExternal... this property) adds 500k to my app size.
Is there some other way to get this value without requiring... B4A Tutorial Runtime Permissions (Android 6.0+ Permissions) - Erel    Mar 16, 2022   (32 reactions)   tags: RuntimePermission, runtime permissions, B4A Runtime Permissions, Runtime, SDK, B4A .DirDefaultExternal or File.DirRootExternal. However there is a simple workaround for this. 1. Use RuntimePermissions.GetSafeDirDefaultExternal("") instead of File.DirDefaultExternal... this is that GetSafeDirDefaultExternal doesn't require any permission on Android 4.4+ (API 19) and....GetSafeDirDefaultExternal without explicit permission although they should. It it therefore recommended to set android... a folder other than the app's default external folder. Notes & tips: - You can only request... B4A Question Is GetSafeDirDefaultExternal Really as Safe as the Name Says - Mahares    Jun 3, 2018 To enforce run time permissions it is recommended to use GetSafeDirDefaultExternal if you do not want to use DirInternal, but is it really safe? I can still use a file manager, drill down to Android... B4A Question XUI.DefaultFolder vs rp.GetSafeDirDefaultExternal("") not finding files that are there - Robert Valentino    Mar 30, 2022 that is using runtimepermissions.GetSafeDirDefaultExternal
to use xui.defaultfolder (reason for... I print them out
XUI.DefaultFolder
RuntimePermissions.GetSafeDirDefaultExternal
The above seems... name>) I am told it does not exists
But if I use File.Exists(rp.GetSafeDirDefaultExternal("... B4A Question Ho to read available space on GetSafeDirDefaultExternal ? - amorosik    Aug 26, 2021 instructions:
Dim rp As RuntimePermissions
log_dir = rp.GetSafeDirDefaultExternal ("App1")
How to read how much space is still available on the drive where the log_dir resides?... Other [please test] RuntimePermissions.GetSafeDirDefaultExternal - Erel    Nov 2, 2016 rp.GetSafeDirDefaultExternal("") <> File.DirDefaultExternal Then
Log("Please post: " & rp.GetSafeDirDefaultExternal(""))
Log(File.DirDefaultExternal... B4A Question GetSafeDirDefaultExternal and manifest question - Scantech    Apr 17, 2021 AddManifestText(
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="19" />
)
My app manifest is android:minSdkVersion="21" and I am using GetSafeDirDefaultExternal.
Do I really need the above code in my manifest?... B4A Question GetSafeDirDefaultExternal with errors - Scantech    May 31, 2019 This is my first time experimenting with GetSafeDirDefaultExternal. I have a device where...
DirFile = rp.GetSafeDirDefaultExternal("Test APP")
'If no database file then... B4A Question How access Download folder with GetSafeDirDefaultExternal - DataProtec    Sep 29, 2019 .GetSafeDirDefaultExternal(""), "/Download/Text.txt")) Then '*** won't work....DirRootExternal , "/Download/text.txt")) Then '*** Works, file exist, but can't open... B4A Question File.Exists Always returns TRUE in File.GetSafeDirDefaultExternal ("") - Johan Hormaza    May 31, 2018
Dim DirFile As String
DirFile = Rp.GetSafeDirDefaultExternal("Folder")
If File.Exists(DirFile, "MyFile.db") Then
Log("Yes Exists")
End If... Page: 1   2   3   4   5   6   |