How to protect shared prefence data not to be clear at GC run? : My application crashes when i keep my application on pause for more than 15-20 min.I have kept user credentials in Shared preference.  It is due to shared preference data which is cleared by GC. Can anyone suggest how get rid of this problem ?