B4A Class ExternalStorage - Access SD cards and USB sticks - Erel    
Nov 11, 2020   
(62 reactions)   
tags: File, Access SD and USB, externsl sd, storage.
The ExternalStorage class makes it simpler to work with SAF.
Usage:
1. Call ExternalStorage.SelectDir... instances of ExternalStorages. This field defines the file where the URI will be written to for future...
B4A Question Recursively copy folders and files from ExternalStorage to DirInternal and viceversa. - max123    
May 26, 2023-deletefolder.69820/#content
I have this sub to recursively copy folders and files from ExternalStorage... copy recursively folders and files from DirInternal to ExternalStorage.
Currently I do not tested...
link:
Only ExternalStorare (Storage.Root) with grant permissions and DirInternal are involved, no DirRoot...
link:
I'm not sure that I understand the question. If you are using ExternalStorage then...
link: I'm not sure that I understand the question. If you are using ExternalStorage then...
B4A Question [Solved] ExternalStorage.ListFiles behaving unexpectedly - agraham    
Dec 16, 2018I need to find a known file in a known folder on the external SD Card and display it in an image viewer. Ghost commander can do this apparently using both the old file:// way and also with Stoarge Access Framework.
I am trying to use the ExternalStorage class but it is not behaving as I expect and I'm puzzled. I would expect the following code to produce
Folder = Maps OS 1000K
FindFile =Lat Long UK.jpg
ListFiles =Lat Long UK.jpg
for a known file
/storage/0000-0000/Maps OS 1000K/Lat Long...
B4A Code Snippet SaveAs - Let the user select a target folder + list of other related methods - Erel    
Nov 1, 2024   
(47 reactions) providers. Very useful and doesn't require permissions.
ExternalStorage - Allows accessing external... folders are accessible with ExternalStorage in Android 11+. Specifically, root, Android/data and... the simpler version of ExternalStorage. Allows the user to choose the place where the file will be saved...
B4A Question Loop bug? + Can't detect user Cancel in ExternalStorage - JohnC    
Nov 2, 2019Using the example in this post:
https://www.b4x.com/android/forum/threads/externalstorage-access-sd-cards-and-usb-sticks.90238/
I modified the PickFolder sub to include an "entry" log and an "exit" log tracing:
Sub btnPickFolder_Click
Log("Start SelectDir")
Storage.SelectDir(chkUsePreviouslySelected.Checked)
Wait For Storage_ExternalFolderAvailable
Log("Exit from SelectDir")
FoldersStack.Clear
EnterFolder(Storage.Root)
End...
B4A Question How to set Initial Folder in ExternalStorage library - mcqueccu    
Feb 9, 2025I need guidance on how to set initial directory in ExternalStorage library, Assuming I want to open "Root/Android/Media" directly for the User to select
Just like B4J (Filechooser.initialDirectory(......))...
link: It isn't possible....
B4A Question [Resolved] [ExternalStorage] LongClick!! - ivanomonti    
Mar 26, 2023ciao a tutti, sto usando questa libreria ExternalStorage ma ho bisogno di inviare il documento o la foto selezionata in stampa, ma vedo che il longclick non viene intercettato in quanto la listview... no come posso far diventare la mia app predefinita?
hello all, i'm using this ExternalStorage...
link: Ivano, tu parli del progetto di esempio, non della libreria.
Il progetto contiene:
Ivano, you are talking about the example project, ...
link: What do you mean that the longclick is not intercepted? is it that ItemLongClick event was not fired?
or try using xcustomlistview.
...
B4A Tutorial Google Maps - Erel    
Jul 7, 2025   
(36 reactions)   
tags: Maps, GoogleMaps, GPS, Erel, Map, Google Mpas be set after the permission is granted.
- v2.02 EXTERNAL_STORAGE permission removed. It is no longer...
B4A Question I am puzzled by a comment in the ExternalStorage example - agraham    
Mar 12, 2022In the ExternalStorage example
https://www.b4x.com/android/forum/threads/externalstorage-access-sd-cards-and-usb-sticks.90238/
In the Sub ListView1_ItemClick there is this code fragment with a comment that I cannot see a reason for.
Private Sub ListView1_ItemClick (Position As Int, Value As Object...
link:
Perhaps Erel added the FindFile call to the example to overcome this bug which made the ExternalFile instances in ListFiles unusable...
link: ExternalStorage class that I had a hard time convincing Erel was actually there. It resulted in all...
B4A Question Question about ExternalStorage - Filippo    
Apr 26, 2022Hi,
in my app the classe ExternalStorage is used to store files in the SD card.
This also works quite well. But now it happens that the user removes the SD card and no longer thinks about it.
Since...
link:
and how to check if sd card is mounted???
Whether the SD card is present is not so important in my...
link: ??
But now it happens that the user removes the SD card
and how to check if sd card is mounted???...
link: Hi,
I have created a function and added in the classe "ExternalStorage", so I can easily ...
Page: 1  
2  
3  
4  
5