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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:39:11+00:00 2026-05-27T18:39:11+00:00

I have an application that starts a timer and an ongoing notification. Whenever I

  • 0

I have an application that starts a timer and an ongoing notification. Whenever I click on the notification though it doesn’t continue the old time, but instead creates an identical activity on top of the first where the timer is as it was before the user started the timer. If I hit the back button or programatically use the finish(); command then it will go back to the old timer where the time was still running and had not stopped running. In essence, I am asking how do you make it so that when you click the notification for the application that you ensure that it takes you back to the way the application was left rather than its original state? Please help. If needed I can provide sample code.

  • 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-27T18:39:11+00:00Added an answer on May 27, 2026 at 6:39 pm

    If you change the activities LaunchMode (in AndroidManifest.xml) to singleTask (android:launchMode=”singleTask”) it should resolve your problem. This will make sure that there’s only one instance of this activity.

    Also you might want to read through the activity documentation here When you scroll down, there’s information of lauchModes

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

Sidebar

Related Questions

I have C# winforms application that needs to start an external exe from time
I have an application that starts playing a sound when user touches the uiview
I am using Visual C# Express 2008 and I have an application that starts
I have an application right now that starts a process, then opens a file
I have an application that when it first starts i need it to run
I have an application in vb.net that starts with a sub function do some
I have couple resource DLLs that I currently load when application starts using following
I have a console application that starts up, hosts a bunch of services (long-running
I have created a textbox in a Windows Forms application that starts out at
I will like my application that always starts as the first time I open

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.