Android Question Save App user preferences/data?

persianpowerman1

Active Member
Licensed User
Longtime User
guys.. How do i do the following efficiently...?

when my app runs the first time...my app.. takes down the Users name/age etc... with Users preferences of color/choices/settings etc...
this needs to be saved...

now when i app starts again i need to look them up and present the UI/game scores/settings... according to the Users choices

is there any efficient way to do this or any particular outline drafted by B4A... rather than a txt file or Database... like something for simple stuff??
please help couldnt find it on the forum??!!

YO!han
 

persianpowerman1

Active Member
Licensed User
Longtime User
hi Erel.. got it thanx,
i kinda understood that tutorial you posted.. great stuff...
so, Writestring/ Readstring it is...
HOWEVER...
if i need to Append this file i will have to use File.OpenOutput?? is that right?... But what if the Append string is really long.. then?

i thought you mentioned Writestring/ Readstring is preferred to File.OpenInput/File.OpenOutput??
 
Upvote 0
Top