how to save test line by line in txt

43 views
Skip to first unread message

R S U

unread,
Jun 9, 2024, 2:44:16 AMJun 9
to DroidScript
Magic DS show way to create Mobile app easily .I have created mobile app in which I want to save text from spinnet +edittext+textview to txt file line by line which when I load it into textview it can be view like list.
Kindly suggest code for it.
Thanks.

Alan Hendry

unread,
Jun 9, 2024, 8:51:55 PMJun 9
to DroidScript
HI,
You can use app.SaveText to save a string (LoadText to load)
or SaveJSON (and LoadJSON)
Or write to file in the folder from app.GetSpecialFolder
Or folder app.GetPrivateFolder, or GetInternalFolder, etc
If you want to load into a list or spinner then the data must be in the correct format (separators)
Regards, ah

R S U

unread,
Jun 10, 2024, 3:03:43 AMJun 10
to DroidScript
Thanks  'I will try first option first  ;If any problem face then again contact you.
Thanks once againe
Reply all
Reply to author
Forward
0 new messages