Public const=0 As Int
There is a public const that changes its value in the programme. How can I save this value in memory when closing the programme in order I could use it when open the programme the next time?
I have a variable: Public const=0 As Int
In the program, I changed it to: const=1
How do I save it and the next time you start reading?
It can be an example please!
You save an Integer as String and parse to Int when read from file; it can be stored on internal memory or external (SD) memory; please check the Beginner's guide at https://www.b4x.com/android/files/guide.zip (File Object: Page 321)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.