Android Question Accessing a Notepad text file

Zizile

New Member
Hi there

A new bee in B4A, I have a text file that I created and saved under the file manager files. It has 3 lines. I can not seem to find a way to access that txt file.

Kindly assist
BA4__.PNG
File_saved_as.PNG
 

aeric

Expert
Licensed User
Longtime User
Try:
B4X:
Dim List1 As List = File.ReadList(File.DirAssets, "Scans.txt")
For i = 0 To List1.Size - 1
    Log(List1.Get(i))
Next
 
Upvote 0
Top