Android Files folder will be deleted while upgrading an app in Market?
<p>I had developed Android Application which has <strong>Login Authentication Page.</strong> When the user logs in with valid data, the details are stored in <strong>Shared Preferences</strong> (shared_prefs folder in <code>data/data/&lt;App_PackageName&gt;/&lt;shared_prefs&gt; folder</code> as <code>SharedPreferences.xml</code> file). So when the user minimizes and maximizes the App, the Shared Preferences is working fine. I recently upgraded the App in the market with updated version Name and Version Code. The users gets the notification and upgrading the App from the market. While launching upgraded version, the app is displaying the Login Auth Page again. I thought that shared Preferences are deleted while upgrading the app, so i changed the storing the details from <code>Prferences.xml to .txt file.</code> The text file is storing in <code>data/data/&lt;App_PackageName&gt;/&lt;files&gt;</code> folder. Here my questions are:</p>

<pre><code>1.The `files` folder and `shared_prefs` folder are stored in cache memory?
2. Whether cache will be cleared while upgrading the app from the market?
</code></pre>
