Load sharedpreferences not giving me a value
<p>Here is my code.</p>

<pre><code>        SharedPreferences sharedPreferences = getSharedPreferences(values,
            MODE_PRIVATE);
    str1 = sharedPreferences.getString("lu121", "test");
    str2 = sharedPreferences.getString("lp5151", "test");
    et_username.setText(str1);
    et_pass.setText(str2);
</code></pre>

<p>by default str1 and str2 should have values of test but when i open the android application the edittexts are not set as test instead i see a blank. Is there something wrong with my code?</p>
