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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:07:55+00:00 2026-06-09T12:07:55+00:00

User reported, that my App restarts ( main activity ) when a subactivity is

  • 0

User reported, that my App restarts ( main activity ) when a subactivity is started ( started per Button ).
I realized that the following option activated forces this : settings->{}developer options->’Do not keep activities’ .

How can I prevent this ? Did I coded something wrong ?

Go-Launcher has the same Problem when opening settings-options in Go-Launcher. Go-Launcher popups a message with the advice to deactivate this setting.

Does anyone know howto read this setting ? I was not able to find the right variable of the class Settings.

regards

  • 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-09T12:07:57+00:00Added an answer on June 9, 2026 at 12:07 pm

    I got a solution from stackoverflow user ‘yorkw’. Thanks alot to yorkw !

    I check if the option is activated. If so I show a dialog to warn the user.

    int value = Settings.System.getInt(getContentResolver(), Settings.System.ALWAYS_FINISH_ACTIVITIES, 0);
    

    regards

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

Sidebar

Related Questions

A user of my Android App reported that he was seeing tiny text. How
I'm working on a iPhone contacts management app. A user reported that all of
a user reported the following crash in my iPad app. Thread 0 name: Dispatch
A user reported to us that some strange behaviour in our application can be
For my first Silverlight app, I've written a program that sends user-supplied search strings
I'm trying to reproduce a bug that a user has reported, and am trying
Recently a user of one of my apps reported that all her data was
The most significant user-reported crash for my app right now is below. It seems
I'm getting loads of these errors reported when a user tries to download a
I'm writing a bug reporter for my app. When something goes wrong, the user

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.