Writing Or Reading From SharedPreferences

Shared Preferences class allows you to save and retrieve primitive data types in key-value pairs. The data saved using Shared Preferences will be available even after your application is killed.(((View Full Tutorial)))