I need to move a bunch of files from subfolders inside a root folder. I parse the subfolders of root folder using a For Next loop and then a nested For Next loop to parse the contents of each subfolder. Since Android does not have Move function, I copy each file using File.Copy2Async() and then...
In a B4i app I created some resource files to later loading using File.ReadMap and these worked fine using the format
These were placed in the DirAssets folder and loaded into the project and compiled. At runtime ReadMap was used to extract this data from the...
I have a database file located on dirinternal, on b4a 5.02 after uninstall, this file was always deleted but in b4a 8 this file remains in some devices, it is removed only when I clean app data.
Is there something that I should do to remove this file on uninstall without change my app folder...
when i use file explorer lib (https://www.b4x.com/android/forum/threads/class-file-explorer-with-visualization.19003/), i get diffrent path for the same selected file.
for example : /mnt/sdcard/1.txt , /sdcard/1.txt, /storage/sdcard/1.txt ...
above all is the same file.
so i can't using...
I am reading several text files into lists, processing the info and writing them again.
One of the files, however has some special characters, tar i connot read correctly.
Any ideias ?
:· 72033258 7203325704/04/2018
:· 72033259 7203325704/04/2018
:µ 72035960 7203596104/04/2018...
Description: it is similar to File.ListFiles(Dir As String) but returns only file names, excluding directories.
Public Sub ListFilesOnly(Dir As String) As List
Dim lstDir, lstRes As List
If File.Exists(Dir, "") Then