File

That’s it, Since the last few days I was not able to go along with the android development course. So then I today started the with the part which I left half of the topic. I understood the topic and I created a app which collects a user’s friend list and stored it in file.

The first part collects the name of the user. I stores the name with the help of the shared preferences as the user name is simply just one, so we can use it.

Then a particular user may have many friends which may not applicable with the shared preferences. So we user the files concept. So even when the phone is restarted or even the RAM memory is cleared, the data will not be erased

\

Leave a comment