Where is my file ???

skipsy

Member
Licensed User
Longtime User
Hi folks,

I am doing some file tests like this :

B4X:
writer.Initialize( File.OpenOutput( File.DirInternal, "Fichier2.txt", False ))
writer.WriteLine( "ligne 1")
writer.WriteLine( "ligne 2")
writer.Close
   
reader.Initialize( File.OpenInput( File.DirInternal, "Fichier2.txt" ))
LINE1 = reader.ReadLine
LINE2 = reader.ReadLine
reader.Close
   
ExitApplication

This works. BUT...
I can't find the file "Fichier2.txt". If I understood it is supposed to be saved
in the app directory. I can't find that directory either !!!

I did a "search" from the root directory and from the SD card using "FileManager"... No luck.

Do you know where is that #"*$! file ???

Thank you,
WW
 

skipsy

Member
Licensed User
Longtime User
Yes, I read that File.DirInternal wont be accessible only by other app but I
thought that it could be possible using a file explorer... And realized that
the file explorer... Is an (another) application too.
I have had a look in my smartphone, I never noticed that none of the
applications (and their directory) I have installed are visible.
Probably a question of account security level (?)

Thks,
WW
 
Upvote 0
Top