How to save the number in the memory of the device and then read it. There is a number that you need to remember and read the next time you start the device.
- @YungBlade Please try to publish detailed answers containing a specific example of the minimum solution, supplementing them with a link to the source. Answers –references (like comments) do not add knowledge to Runet. - Nicolas Chabanovsky ♦
|
1 answer
SharedPreferences
Very easy way https://developer.android.com/reference/android/content/SharedPreferences.html
|