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

  • SEARCH
  • Home
  • 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 6230497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:45:34+00:00 2026-05-24T09:45:34+00:00

On my Android App, I have set up a splash screen. The splash screen

  • 0

On my Android App, I have set up a splash screen. The splash screen opens when the app is opened and lasts for two seconds before it redirects to a login screen.

The issue I am having is that the splash screen displays once, and then re-directs to the login screen. BUT when I click on the app again it goes straight to the login screen ignoring the splash screen… Is there a reason for this? Does it automatically open on your last screen? Because then if I hit the back button when it opens on the login screen it DOES go back to the splash screen but then doesn’t redirect to the login screen after 2 seconds.

Someone has said: “Set clearTaskOnLaunch via the Android Manifest of your project to true. This will clear the task/stack history whenever the activity is launched.” — But I don’t know where to put it in the Anndoird Manifest.. and I’m not even sure this is the solution to my problem as I effectively want the whole app to be started again when then icon is clicked — not resumed on the last page.

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-24T09:45:34+00:00Added an answer on May 24, 2026 at 9:45 am

    Do you want the splash screen to show when pressing back from the login activity? Because any user would hate that. Do your users a favor and call finish() after starting the login activity from the splash screen. However, if you actually care for your users a little bit you would remove the splash screen altogether (unless you have some data to load, or something that actually takes two seconds to complete, and can’t be postponed).

    Now, on to your main problem. Yes, the Android OS does keep your activity stack in memory for a while, but only if you use the HOME button to effectively minimize the application. If you press the back button, the activity is terminated. When there are no more activities, the process is terminated (using the back button). It’s not recommended to override this behavior, so I won’t post any pointers on that (although others already have).

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

Sidebar

Related Questions

On my Android App, I have set up a splash screen. The splash screen
I have set up the code to call a remote server from Android app
I'm working on my first android app and have an SQLite database set up
In my Android app, I have a GridView layout with a set of Buttons.
We have an Android app and a Web Service. We want to download part
I have an Android app with a ListActivity in the main view. The list
I have a class that extends android.app.Dialog, the layout is done in an xml
I have created a small and simple android app. I tried installing it on
I have a simple question. I am trying to design a simple Android app,
I'm going to implement my strings with internationalization in my Android app. I have

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.