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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:05:21+00:00 2026-06-08T10:05:21+00:00

Ok, so I know that if the app gets updated, I should re-register with

  • 0

Ok, so I know that if the app gets updated, I should re-register with GCM because the old key might be invalid at that point. My question is, when an app updates, are all open activities closed and can I count on the main activity being started again (ie i can just put the version check & re-register in the onCreate of that activity), or are all the open activities going to continue running and I have to put that re-register check in all the onStarts of those activities? (sorry i dont have an android phone to test this out with and emulators dont connect to google play)

  • 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-08T10:05:22+00:00Added an answer on June 8, 2026 at 10:05 am

    Yes. When any app is being updated, if that app is already running, the OS will force close it, then proceed with the installation of your update. Once update is finish, you have the chance to ‘Open’ it. This is when your main or home activity will do the version check, and re-register with GCM server.

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

Sidebar

Related Questions

I know that conventionally for an app to interact with the internet, it must
I know that in order for me to force the app to be in
I know that after I have deployed my ipad/iphone app into App Store, it
i want to know that why do we add an app.config file in c#
I have a class library that has settings within an app.config. I know that
I want to use push notification in my app.i want to know that do
I've been working with app engine for quite some time, I know that there
To learn backbone Im creating a Twitter like app. So you know that Twitter
I have this question you probably know the answer... My app is already functional
I have an app that successfully gets root access and executes 2 simple commands;

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.