B4A Class ExternalStorage - Access SD cards and USB sticks - Erel    Nov 11, 2020   (59 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... access the secondary storage (File.DirRootExternal). This becomes relevant with newer versions... 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... B4A Question [Solved] ExternalStorage.ListFiles behaving unexpectedly - agraham    Dec 16, 2018 Access Framework. I am trying to use the ExternalStorage class but it is not behaving as I expect and... Storage_ExternalFolderAvailable For Each f As ExternalFile In Storage.ListFiles(Storage.Root) If f.Name = folder... & "FindFile = " & extfile.Name & CRLF For Each g As ExternalFile In Storage...I need to find a known file in a known folder on the external SD Card and display it in an image... 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    Sep 10, 2023   (43 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... storage permission, which is mostly no longer available. RuntimePermissions.GetSafeDirDefaultExternal... cumbersome (Log it to see). Special MANAGE_EXTERNAL_STORAGE permission - mostly relevant to non... B4A Question Loop bug? + Can't detect user Cancel in ExternalStorage - JohnC    Nov 2, 2019 Using 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 [Resolved] [ExternalStorage] LongClick!! - ivanomonti    Mar 26, 2023 ciao 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... B4A Question I am puzzled by a comment in the ExternalStorage example - agraham    Mar 12, 2022 In the ExternalStorage example
https://www.b4x.com/android/forum/threads/externalstorage-access-sd...)
Dim f As ExternalFile = Value
If f = UpItem Then
'....
Else
'The ExternalFile returned from ListFiles cannot be used directly.
'We need to... B4A Question [SOLVED]How can I set the source of SimpleExoPlayer to an ExternalStorage .wav file? - William Lancee    Mar 13, 2022 The code below works, but requires an extra copying step that delays the start of play.
Dim in As InputStream = Storage.OpenInputStream(f)
Dim out As OutputStream = File.OpenOutput(File.DirInternal, "temp", False)
File.Copy2(in, out)
out.Close
player1.Pause
sources.Clear
sources.Add(player1... B4A Class ExternalStorage Class - Additional Use Case - agraham    Apr 5, 2019   (6 reactions)   tags: ExternalStorage Class sel The ExternalStorage Class is billed as accessing external SD Cards and USB sticks. I have found... of two things. 1) StorageClass works on internal as well as external memory. 2) Access to files via StorageClass is relative to the folder chosen by the user when an application is first run... in the root of the internal storage (DirRootExternal!) and thought I would now need a special... the external SD Card. I have a large set of maps and map data that was located in several different... B4A Question How to use ExternalStorage - Xfood    May 2, 2021 .b4x.com/android/forum/threads/externalstorage-access-sd-cards-and-usb-sticks.90238/
Here is my code...
Dim ReaderFileTxt As TextReader
If File.Exists(File.DirRootExternal, cNomeFileArticoli... Page: 1   2   3   4   5   |