file permanent data storage

tomb

Member
Licensed User
Longtime User
Hi,

I've been storing a .txt data file on the SD card as I wanted to access it again in the next app session and it works just fine. Which of the other data storage methods can be used to store data until the next app session? Which data storage methods are just for the session? By session I mean the time the app is in Android memory as it could be swapped out and not active. I presume the session is over when some other app is running or power has been turned off.
Thanks,

Tom B
 

alfcen

Well-Known Member
Licensed User
Longtime User
I store app relevant data to DirInternal without any problems encountered so far.


Example:

B4X:
Writer.Initialize(File.OpenOutput(File.DirInternal, "text.ini", False))
 
Upvote 0
Top