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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:25:51+00:00 2026-05-25T17:25:51+00:00

I have a simple problem. In my app I have 3 activities A,B,C. Activity

  • 0

I have a simple problem. In my app I have 3 activities A,B,C. Activity A is the main activity.On some action on activity A it takes to activity B and then after some action it goes to activity C. When I am at activity C, I pressed home button and the home screen came. Now when I click on the app icon again it starts activity C again. But I want the activity A should be coming as I have to ask the password. I want all the activities should be finished when I press home button and when I click app icon again the login activity i.e activity A should be coming. Can anybody give me some solution?

  • 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-25T17:25:52+00:00Added an answer on May 25, 2026 at 5:25 pm

    If your firing intent to go from one activity to another like this —–>

    Intent intent = new Intent(this, B.class);
    startActivity(intent);

    then add this thing to your code then all thing will get fine —->

    addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT) like this —–>

    Intent intent = new Intent(this, B.class).addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
    startActivty(intent);

    NOTE—> here (this) means your A activity.

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

Sidebar

Related Questions

I have what seems like a simple problem. I have a Spring web app,
Problem 1: I have a simple winforms app and I want to DataBind my
I have a simple problem, I have an app based on CoreData and I
I have a simple problem. I want to delete all app request sent via
I have weird problem with zend framework basics. I have simple action in IndexController:
I have a simple Sinatra app that I am playing with, and for some
I have a simple question. In my app, I have a some buttons for
I have an activity group containing 3 activities. When a button is pressed, I
Have simple C# console app which imports text data into SQL. It takes around
I have what seems like a simple problem in my Rails 3.1 app: I

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.