I use this simple code:
SETCURRENTDIR("Media") // go to media files
AUTOPAUSE TRUE
SEEDRND GETTIMERALL()
//SETSCREEN 9999,9998,FALSE
SETSCREEN 440,700,FALSE
int_sd$ = PLATFORMINFO$("APPDATA")
ext_sd$ = PLATFORMINFO$("DOCUMENTS")
WHILE TRUE
PRINT "Int_sd: " + int_sd$, 0, 10
PRINT "Ext_sd: " + ext_sd$, 0, 20
PRINT "Path: " + GETCURRENTDIR$(), 0, 30
PRINT "**************2", 0, 50
OPENFILE(1,"1.txt", TRUE)
READLINE 1, nome$
PRINT "1 : " + nome$,0 ,70
CLOSEFILE 1
SHOWSCREEN
WEND
In Windows work fine but in Android Crash...
I use DOESFILEEXIST() but it tells me that the file does not exist.
I test a various option:
OPENFILE(1,"Media/1.txt", TRUE)
or
OPENFILE(1,"Media\1.txt", TRUE)
but the file not found!