So instead of creating a database, I\'m storing the data using SharedPreference.
SharedPreference
My code is below:
SharedPreferences.Editor editor =
Do you use shared preferences in two different activieties of one app ?
Also try to specify preferences name, or use some Manager to handle all preferences, all this explained here