Bug? File.ListFiles(File.DirAssets) different behaviour B4A / BaJ - klaus    Feb 12, 2020   (4 reactions) There is a difference between B4A and B4J with File.ListFiles(File.DirAssets).
This code works in B4A but not in B4J:
For Each FileName As String In File.ListFiles(File.DirAssets)
This code works in... B4A Question File.ListFiles(File.Assets) in Debug - lip    Sep 21, 2021 .
'Get files from Tablet
Dim AssetFiles As List
AssetFiles = File.ListFiles(File.DirAssets... there are 21 files found by ListFiles. However, if compile in debug there are 32 files. The additional... B4A Question [Solved] ExternalStorage.ListFiles behaving unexpectedly - agraham    Dec 16, 2018 Long UK.jpg
ListFiles =Lat Long UK.jpg
for a known file
/storage/0000-0000/Maps OS 1000K/Lat Long... FindFile and ListFiles are looking in this folder and not the expected one. If I set filename to... B4A Question File.ListFiles usage - Erel (first post)    Aug 12, 2025 You can use ExternalStorage or ContentChooser to access those files. See the link above.... B4A Code Snippet [B4X] CopyFolder / DeleteFolder / RecursiveList - Erel    Oct 19, 2025   (26 reactions) , targetFolder As String) If File.Exists(targetFolder, "") = False Then File.MakeDir(targetFolder, "") For Each f As String In File.ListFiles(Source) If File.IsDirectory(Source, f) Then CopyFolder(File.Combine(Source, f), File.Combine(targetFolder, f)) Continue... As String In File.ListFiles(folder) If File.IsDirectory(folder, f) Then DeleteFolder... As List) For Each f As String In File.ListFiles(File.Combine(Root, Folder)) Result.Add(File... B4A Question file.listfiles not working. only returns one file - apti (first post)    Jan 29, 2025 found it. had to request permission to read and now I get what I expected. I think we need a better ... B4i Question [SOLVED?] Bug in File.ListFiles in Release mode - JackKirk    May 6, 2017 Sub
Private Sub Page1_Resize(Width As Int, Height As Int)
Private wrk_files As List
Private wrk_str As String
Private wrk_ptr As Int
'Get names of files in assets directory
wrk_files = File.ListFiles(File.DirAssets)
'For all files...
For wrk_ptr = 0 To... B4A Question File.ListFiles only listing folders - Luthier (first post)    Dec 18, 2023 Thank you Erel.
Not sending it to Google Play and App now showing files having set targetSdkVersion to 28.... B4J Question Resumable subs with recursive File.ListFiles to update UI - walt61    Jun 3, 2017 As String)
LabelFolder.Text = fldr ' Show this folder
For Each x In File.ListFiles(fldr)
If File.IsDirectory(fldr, x) Then
GetTheFolderContents(File.Combine(fldr, x... after returning from a subfolder
Else
fList.Add(File.Combine(fldr, x)) '... B4A Question File.DirRootExternal and ListFiles not working - Scantech    Aug 28, 2020 TargetSDKVersion 29 and Android-29 does not work with l1.AddAll(File.ListFiles(File.DirRootExternal))
We can't populate list in File.DirRootExternal. Is there anyway to populate the list from... Page: 1   2   3   4   5   6   |