My app downloads several text files, all located in the same folder on the server. When I run the app using the browser on my laptop there is no problem with downloading all the files. But when I make an APK file using Volt Builder and run it on my Android phone, all the files download OK except for one, named numplants.txt. No matter what order I set the files to download, they all download OK except for numplants.txt, which generates an error message. I’m using ReadFile to download the files as shown below.
Function GetContents(ThisFile) req = ReadFile(ThisFile) If req.status=200 Then WorkingText.hide() Else NSB.MsgBox("Download of " + ThisFile + " Not Successful",vbExclamation,"Garden Notepad Message") End If GetContents = req.responseText End Function