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

  • SEARCH
  • Home
  • 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 8208735

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:28:40+00:00 2026-06-07T09:28:40+00:00

What is the process behind upgradation of an app in android. Is it replacement

  • 0

What is the process behind upgradation of an app in android. Is it replacement of just the Apk or is it something else.

Also

  1. Is it replacement of just the new Apk file (Like reinstalling) or is it updated?

  2. What happens to the database tables which are associated with the older version?

  3. What happens to the shared preferences associated with the older version?

Can anyone also let us know a proper way to simulate this operation before we actually launch it in the market.

  • 0 0 Answers
  • 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-07T09:28:42+00:00Added an answer on June 7, 2026 at 9:28 am
    1. Yes the application is replaced with the newer one.
    2. The database will be upgraded, so the onUpgrade() method on your SQLiteOpenHelper method will be called, so you need to process with care the data here, for example you may not want to delete the entire database and table, and just upgrade maybe specific tables that have changed.
    3. The ShardePreferences will not be erased, they will be kept.

    To simulate this, you can just put an older version of your app on your device, and then install the newer one. This will actually update your application as the Play Store does, and as Eclipse does when you re-install an app, that is allready installed on your device/emulator.

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

Sidebar

Related Questions

I'm new to OAuth and having trouble visualizing the process behind how it works.
tail -f test.log Above command will tail the log which runs the process behind
Process process = new Process(); ProcessStartInfo psi = new ProcessStartInfo(@C:/PsExec.exe); psi.UseShellExecute = false; psi.RedirectStandardOutput
I'm not familiar at all with the process behind this, but what I would
I have a working process, behind a web application, that is generating some records
When you process a SELECT through phpmyadmin, behind the scenes, it will sometimes add
In my process I continuously create a new Thread object (subclass of Thread actually)
What is the process behind making custom widgets (using Qt) that don't look...well...ugly? I
OK, I need some help understanding the process behind Facebook's website integration process and
I have a program wherein i use fork. In the child process, i just

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.