Is SharedPreferences not accessible to other applications?
<p>I have an app which has a user login to a webservice (username + password). I need to store the user's username and password somewhere to auto-log them in (otherwise they have to enter username + password every time).</p>

<p>I have stored the username + password in SharedPreferences like so:</p>

<pre><code>SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
Editor editor = prefs.edit();
editor.put("username", "the username");
editor.put("password", "the password");
editor.commit();
</code></pre>

<p>If I understand correctly, the actual file that shared prefs writes to is not accessible from other third party apps, correct? Therefore it's ok to store the username + password here? </p>

<p>If I hook up devices to DDMS, I cannot see the shared prefs files (good). If I use the emulator, I can see them.</p>

<p>Thanks</p>
