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)