In my manifest i add this code:
In my Android i've files and dirs.
This code shows me only dirs. Why?
Thank you all for the beautiful B4A!
B4X:
AddManifestText(
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="30" />
)
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
Dim mylist As List = File.ListFiles("/storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Backups/")
For Each s As String In mylist
lstDice.AddSingleLine(s)
Next
End Sub
In my Android i've files and dirs.
This code shows me only dirs. Why?
Thank you all for the beautiful B4A!