How to get a list of .ttf files from Dir.Assets? I get errors with this.
B4X:
Dim lstFont As List
lstFont.Initialize
' lstFont.Add("Digital.ttf"): lstFont.Add("Wlm.ttf"): lstFont.Add("LcdPhone.ttf")
lstFont.AddAll(File.ListFiles(File.DirAssets))
For x = 0 To lstFont.Size -1
y = lstFont.Get(x)
If y.EndsWith(".ttf") = False Then
lstFont.RemoveAt(x)
End If
Next
lstFont.Sort(True)