I am using SharedPrefrences in App to manage login session of user.
For that, I have used MODE_PRIVATE as an argument while initializing instance of SharedPrefrence as below :
SharedPrefrence myPref=getSharedPrefrences("MY_PREF",MODE_PRIVATE);
Now, I have read about different MODES used in SharedPrefrences like MODE_PRIVATE, MODE_APPEND, WORLD_READABLE etc..
But, I not get the things clearly. I have used MODE_APPEND in place of MODE_PRIVATE. Getting Same results.
What is the differences and conditions to use them?