How to save integer values in a file and retrieve values from that file in java
I need to save two values in an application(bulilt on Android) so i can use those values again when i start the application later. I came up with idea of saving those values in a separate file and retrieving values in file. But Don't have any idea how can i do that? Like what format of file i need, or how can i write and update value in that file.
Help appreciated.
Thanks
How to save integer values in a file and retrieve values from that file in java
===

I need to save two values in an application(bulilt on Android) so i can use those values again when i start the application later. I came up with idea of saving those values in a separate file and retrieving values in file. But Don't have any idea how can i do that? Like what format of file i need, or how can i write and update value in that file.
Help appreciated.
Thanks