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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:51:12+00:00 2026-05-27T11:51:12+00:00

In my app, I’ve noticed a difference when using the home button. Ex. I

  • 0

In my app, I’ve noticed a difference when using the home button.

Ex.
I press app icon, and the app starts op like it should with Activity(A). When I press Home button, the app gets minimized as it should. When I press app icon again, the app resumes with onResume() with Activity(A)

Now for the tricky part.
From the app, when I press my “Start button” another Activity(B) is launched, and focus is changed to the new Activity(B). When I press Home, the app minimizes (like its supposed to).

And now for the problem:
If I press the app icon, my app starts op from the very beginning with Activity(A) where my start button is. (And not with ActivityB which I just minimized)
If I do the scenario over again (Start app – > focus to Activity(B) -> Press home) and this time long press the home button, and the “Recently launched” comes op, and I select my app. Now the focus resumes to Activity(B)

Both Activity(A) and Activity(B) are set to SingleTop.

My question is, why is there a difference when using the different combinations of LongPress home + icon and OneClick Home + icon

  • 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-27T11:51:12+00:00Added an answer on May 27, 2026 at 11:51 am
       First think about this... when you are opening your application ...
       your first Screen will be shown may be it is SplashScreen.
    
       and if..you are in Activity A and goes to B and then Press BACK obviously
       you will see Activity A.
    

    So now when you Long Press Home button..That shows you recent apps with saves state of last shown Activity..that’s why when you open from there..you see Activity B directly without SplashScreen.

    And Simple Pressing Home Button Once,you are went to Home Screen from where you are opening Applications Screen which is Launcher Screen..from there If you press any Icon that particular app will be Launched(Means to open the app from its Main Activity that is defined in Manifest with Intent Filter set to Launcher)…That’s why opening an app from there will always show you,your SplashScreen.

    This is not a Bug,not an Issue..This is how the Android is designed to work.
    

    Same button is used to perform two different events,cause they are related..but It’s not like both event performs the same actions.

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

Sidebar

Related Questions

App: C#, .NET4, Windows 7 When an app starts up, it gets a copy
Our app (already deployed) is using an Access/Jet database. The upcoming version of our
My app is placing a button with a custom background image and i doesn't
My app is crashing using iOS5 and iOS4.3 iPhone simulators in Xcode 4.2, the
App Description: I have a UIWebview and a Toolbar beneath it. A button on
My app is slowed down by N+1 queries. I'm using the will_paginate gem with
app.get('/',function(req,res){ res.render('home'); // I want the template to be able to access the flash
We're building an app, our first using Rails 3, and we're having to build
App is in prism/mvvm/mef and uses loading by attribute like StockTraderRI. My shell window
app crashes when pressing back button log description:- [FootballScoreBoardViewController bannerViewDidLoadAd:]: message sent to deallocated

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.