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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:10:46+00:00 2026-06-17T18:10:46+00:00

An issue I was having with my app is that it wasn’t resuming to

  • 0

An issue I was having with my app is that it wasn’t resuming to the most recent activity. I added

android:alwaysRetainTaskState="true"

to AndroidManifest.xml. It fixed the issue for debug mode but not when I built for release mode. Kinda.

If I install the app via downloading the release APK to the phone’s sdcard and installing from there the mentioned bug exists. If I install the exact same APK via adb the bug does not exist. This is true for both pre and post Android 4.0 devices.

Any ideas? Because I’m so lost.

  • 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-17T18:10:47+00:00Added an answer on June 17, 2026 at 6:10 pm

    Do you start the app directly from the installer (after installation the installer asks if you want to start the app). If so, this is your problem. There is a nasty, long-standing bug that apps started by the installer are in a strange state. If you then use the HOME button to return to the HOME screen and then return to your app, Android happily launches the root activity of your app again 🙁

    For more details on this bug see http://code.google.com/p/android/issues/detail?id=26658
    Many people have struggled for days chasing this problem 🙁 Please star the issue to raise awareness.

    The bug is there on all devices, on all versions of Android (at least up to ICS, haven’t tested on JellyBean yet). It all works as it should in the emulator, so you cannot use emulator behaviour as an indication of real device behaviour.

    A simple workaround for this problem can be found at http://code.google.com/p/android/issues/detail?id=2373#c21

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

Sidebar

Related Questions

I've developed an android app and it is having an issue while the user
I am having an issue with my UITextFields in my iPhone app that I
I am having a really odd issue. I have a Phonegap 2.0 app that
I'm having an issue using a new WPF app that is trying to display
I'm having an issue making an app that plays music in rails. I can't
I'm having an issue where I've written a Java App that works perfectly on
We are having the issue that the app we have has an In-App purchase
I was having an issue with debugging my app with eclipse. When I go
I am having an issue with my app, soley on the Moto DEXT. I
I'm having an issue with my app. I am receiving 7 Apple Mach-O Linker

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.