Skip to content Skip to sidebar Skip to footer

Shared Preferences Not Working For Storing/receiving Data

Here I have a block of code that sends information from the current activity to another one: @Override protected void onCreate(Bundle savedInstanceState) { super.onCre

Solution 1:

The getSharedPreferences("com.amrapps.paneraautomate", MODE_PRIVATE) and getSharedPreferences("com.mycompany.myAppName", MODE_PRIVATE); should use the same string as the first parameter


Post a Comment for "Shared Preferences Not Working For Storing/receiving Data"