Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7848573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:15:12+00:00 2026-06-02T18:15:12+00:00

I had developed Android Application which has Login Authentication Page. When the user logs

  • 0

I had developed Android Application which has Login Authentication Page. When the user logs in with valid data, the details are stored in Shared Preferences (shared_prefs folder in data/data/<App_PackageName>/<shared_prefs> folder as SharedPreferences.xml 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 Prferences.xml to .txt file. The text file is storing in data/data/<App_PackageName>/<files> folder. Here my questions are:

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?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:15:15+00:00Added an answer on June 2, 2026 at 6:15 pm

    Neither are stored in the cache memory, the correct term is private application storage. Application database goes there too. All these will be kept intact when you upgrade the application.

    There will be very little use of the application storage if it got erased with every application update right? Imagine yourself having to pass the same troublesome level of a game after each upgrade…

    By the way there is a warning that pops out when you are about to upgrade an application, saying explicitly that your application data will be kept intact.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi there Im new to mobile application development. I had developed Android apps using
I am newbie in android. I had planned to develop an application which divides
I have developed an Android application and had it tested on emulator as well
Any android developers had any success changing the package name of your application (in
I had developed an application in visual Studio 2005. whenever i run that application
My last employer had developed an elaborate system which sat on top of SVN
I wondered if anybody had encountered this problem. I'm writing an application for Android
I had developed 3 applications in android where the major functionalities are the same
I am writing an Android application that uses some functionality that has been published
I am trying to develop an android application which will retrieve a voicemail message

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.