title: Android - SharedPreferences with serializable object
body: <p>I know that SharedPreferences has <code>putString()</code>, <code>putFloat()</code>, <code>putLong()</code>, <code>putInt()</code> and <code>putBoolean()</code>. But I need to store an object that is of type <code>Serializable</code> in <code>SharedPreferences</code>. How can I achieve this?</p>