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 7683217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:44:43+00:00 2026-05-31T18:44:43+00:00

I currently have a app on the market it saves some data with onRetainNonConfigurationInstance

  • 0

I currently have a app on the market it saves some data with “onRetainNonConfigurationInstance” now I want to add some more variables to the saved data and update the already published app.

It seems to me that the when the new apk runs for the first time and does a “getLastNonConfigurationInstance()” the new variables I added will not be present. Is there a way to handle this? Will this cause a problem if I dont handle it (to me it seems like it would)?

  • 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-05-31T18:44:44+00:00Added an answer on May 31, 2026 at 6:44 pm

    No, any data that could have been “stored” from the last onRetainNonConfigurationInstance will be gone when you update the app, since your program will be killed when doing the upgrade. In short, you don’t need to worry about that.

    You can reproduce the behavior by force quitting your app. You’ll see that getLastNonConfigurationInstance() will be null the first time you start your application from a fully closed state.

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

Sidebar

Related Questions

I currently have a simple app in the market, now I tried installing it
I want to build a REST web service on app engine. Currently i have
I have custom classes that I currently instantiate within App.xaml as resources. I want
I have an app on the android market, which I periodically update with new
I currently have an app on the market that supports Android 1.5 (SDK level
I currently have 2 apps in the market, let's call them app A and
I'm trying to ship a pivotal update to my app currently on the market.
I currently have an Android app on the Android Market. One of it's main
Currently I have an xml structure in an app. I needed to convert it
We have an app that currently installs itself into 'program files\our app', and it

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.