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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:16:52+00:00 2026-06-17T19:16:52+00:00

My app contains 3 activitys: A1, A2 and A3. There is a loop between

  • 0

My app contains 3 activitys: A1, A2 and A3.

There is a “loop” between these activitys:
A1–starts–> A2 –starts–> A3 –starts–> A1 and so on.

Furthermore it’s possible to go back from A3 to A2 and from A2 to A1 (only these 2 cases)

My Problem is, that my App becomes very sluggish after clicking through the activitys. I think its because the activitys aren’t closed correctly. I can’t finish the activitys A1 and A2 after starting the next one, because it’s (how i said) possible to go back.

How can i handle this problem?

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-06-17T19:16:53+00:00Added an answer on June 17, 2026 at 7:16 pm

    When you are at Activity A3 and want to launch Activity A1 again then do..

    intent = new Intent(getApplicationContext(), ActivityA1.class);
    intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
    startActivity(intent);
    

    It would clear the stack and would relaunch the Activity A1

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

Sidebar

Related Questions

My app starts up at Activity A which contains a ListView. The ListView can
I have an app that contains several activities...so lets say user is navigating activity
In my app, pressing a button activates a dialog box. This dialog box contains
A small portion of my app contains a view were people can take brief
I have a simple metro app contains a button, a label and a drop
I'm writing a C++ application for Win32 in VS 2010 Pro. The app contains
This is a toy project I'm working on at the moment. My app contains
I have an app which contains a scrollview with several tableviews. Each tableview is
I've created an app that contains 4 viewcontroller and its .h,.m files...In my firstviewcontroller
I've created an app which contains form and that have to filled up in

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.