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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:07:30+00:00 2026-05-26T18:07:30+00:00

Trying to found some information about Android app life cycle. So imagine the situation:

  • 0

Trying to found some information about Android app life cycle. So imagine the situation: I open app and than lock screen, and in a few hours phone kill my app process. What will happen when I will unlock screen ? What I will see at the screen ? Android home screen ? or App will restar automatically for me ? Will stack of activities will restore too ? I’ll be glad for any help. Thanks…

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

    Activity lifecycle is what your looking for.

    There is no such thing as Application lifecycle or lifecircle. Every Activity has it’s own lifecycle. If the system needs more ram it will be killed if in onPause() or onStop() state. If all your Activities are killed, the app is no longer visible. If you want data to persist you have to Override onPause() and onResume() and save/restore your data there.

    Your Application will never restore on its own, if there is an activity killed. You have to keep track of your activities manually if you want to “resume” after kill of your activities.

    To make it even more precise: One Activity can be killed and the others can remain paused. If you then return to your app you get the last activity in your activity stack which wasn’t killed.

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

Sidebar

Related Questions

I'm trying to present some information in a Swing application about the existance of
Trying to get my mind around google protobuf. I found some implementation of protobuf
I am trying to write the simples GUI countdown. I found in Internet some
I am now trying to understand some code and I have found a pattern,
I'm trying to parse a html doc using some code I found from this
I am trying to read some smps files with python, and found a fortran
I am trying to create an app with some menus, an I am following
I am trying to make some enhancements to a production web app. After quite
I found this script on about.com which I'm trying to learn from on how
I need some help in C syntax, more about C casting syntax. All information

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.