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

The Archive Base Latest Questions

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

I have an application which consists 3 activities – lets call them A, B

  • 0

I have an application which consists 3 activities – lets call them A, B & C.
From activity A You can get to activity B, from B to C and from C to A (By pressing the back button).

On activity A I have an exit button (I know it`s not recomandded on android, but a lot of users are asking for it, so I decided to add it).

Anyway the problem is that: activity B has a timer, when the timer is finished it starts an intent that starts activiy C and calls finish() on activity B.

When the user then press back on activity C he gets to activty A – and then when he presses the exit button (this button only preforms finish()), it pops up activity B again. How can I prevent it from happen?

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-27T11:18:15+00:00Added an answer on May 27, 2026 at 11:18 am

    I’m not sure I understand how you end up at A when going back from C. Shouldn’t it go back to B (logically, I mean. I know you want it to go to A)? In fact, that seems to kind of be what’s happening. B is getting relaunched, but A appears on top of it, so that when you finish A, B (which was under it) is now shown.

    It sounds like you don’t want B to be part of the history stack, so maybe when you launch B, you should launch it with the no history flag.

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

Sidebar

Related Questions

I have an application which consists of two activities/screens and a java class from
Currently, I have an Application which consists of a BasePage which as a header
I have an application which extracts data from an XML file using XPath. If
I have an application which takes a string value of the form %programfiles%\directory\tool.exe from
I have an application which get copied and run on client machines. The program
I have a silverlight application which consists of a few tabs, which I would
I have an application that has a top level navigation menu which consists of
I have a C# application which consists of 3 forms: 1: Battleship Game GUI
I have a very simple application which consists of an ASP.NET front end site,
I am working on an application which consists of several modules and requires them

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.