B4A Question [Solved] File.DirRootExternal and RuntimePermissions - asales    
Mar 18, 2018 fine.
How I can change this code to use the RuntimePermissions?
MyDir = File.DirRootExternal &...I use File.DirRootExternal and File.DirDefaultExternal in my apps and I want to implement...
link: on the maximum amount of options I can.
Will be nice if I could do it with DirRootExternal...
link: dangerous permission
99% apps have this in play store ...
it is not really dangerous, more the risk ...
link: Thanks! I understand now.
If I use File.DirRootExternal, I will see a dangerous permission in...
B4A Question B4XPages- is not Friendly when Using SQLite with RunTImePermissions for Storing in DirRootExternal - Mahares    
Jul 5, 2020I can use DirInternal without RunTimePermissions (rtp) or SafeDefaultExternal folder with rtp without any problems with B4XPages. But, when I request permission and try to use it with DirRootExternal...
link: The answer to the original question(?) was answered 5 times. The template code in the main module is...
link: Calling SQL1.Close will release all reference to the database connection that cause the new problem,...
link:
you don't even make change in the B4XPage_Created event as i suggested above..
Your suggestion...
Spanish Problema con archivo-directorio - EnriqueGonzalez (first post)    
Sep 26, 2023   
(1 reaction)me imagino que te falta los permisos:
https://www.b4x.com/android/forum/threads/solved-file-dirrootexternal-and-runtimepermissions.90780/post-573874...
link: -dirrootexternal-and-runtimepermissions.90780/post-573874
Gracias, pero tengo los permisos en el Main...
German EACCES (Permission denied) Android 11 - b4x-de (first post)    
Apr 15, 2021Hi, hilft das:
https://www.b4x.com/android/forum/threads/solved-file-dirrootexternal-and-runtimepermissions.90780/
Viele Grüße
Thomas...
B4A Question Another Filewrite Permission question - DonManfred (first post)    
Nov 6, 2019A pinpoint in the good direction would be much apreciated
i already gave you the correct pinpoint!
Watch the Runtimepermissions tutorial. It is shown in the video.
You need to request the permission, wait for the result and can use this path if the Permission is given.
The forumsearch is working too
https://www.b4x.com/android/forum/pages/results/?query=dirrootexternal+runtimepermission...
B4A Tutorial Runtime Permissions (Android 6.0+ Permissions) - Erel    
Mar 16, 2022   
(34 reactions)   
tags: RuntimePermission, runtime permissions, B4A Runtime Permissions, Runtime, SDK, B4A deal with all cases anyway.
As a general rule, you shouldn't call RuntimePermissions.Check from....DirDefaultExternal or File.DirRootExternal.
However there is a simple workaround for this.
1. Use RuntimePermissions.GetSafeDirDefaultExternal("") instead of File.DirDefaultExternal....
- Some Android 4.4 (API 19) devices do not allow access to RuntimePermissions...
B4A Question Attempt to make a local folder - JohnC (first post)    
Jan 26, 2020Here's a thread that might help:
https://www.b4x.com/android/forum/threads/solved-file-dirrootexternal-and-runtimepermissions.90780/...
B4A Question Question about SDK30 and File.DirRootExternal problem - Deleted member 103    
Apr 19, 2021Hi,
So far, my app saves the log files and CSV files in a folder under File.DirRootExternal, but from SDK 30 this is not allowed. It is clear to me that I can save the files under "File.DirInternal or RuntimePermissions.GetSafeDirDefaultExternal".
The problem is, however, if the user uninstalls the app for whatever reason, then the files are also deleted and that shouldn't be.
Because these files will be used again with a new installation.
I also realize that the user can email...
B4A Tutorial android.jar / targetSdkVersion / minSdkVersion - Erel    
Oct 18, 2023   
(93 reactions)   
tags: runtime permission, sdk version, Targetsdk, SDK, B4A with targetSdkVersion=30. Avoid using File.DirRootExternal. Either use File.DirInternal or RuntimePermissions... File.DirRootExternal, even with the STORAGE permission. For now there is a simple workaround...
B4A Question RunTimePermission and WRITE_EXTERNAL_STORAGE - Semen Matusovskiy (first post)    
Aug 20, 2018   
(1 reaction)Did you change all File.DirRootExternal to runtimepermissionsInstance.GetSafeDirDefaultExternal ?...
Page: 1  
2  
3  
4  
5  
6  
7