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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:41:35+00:00 2026-05-26T00:41:35+00:00

I Have one activity group. Consists of around six activity A >B >C >D

  • 0

I Have one activity group. Consists of around six activity A >B >C >D >E > F
Its working fine in activity group. With this is use to navigate from one activity to another.

     View view = ConsultationGroup.group.getLocalActivityManager().startActivity("newsdisplay", Home1.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)).getDecorView();  
     ConsultationGroup.group.replaceView(view);

Now the problem is:

I need to call activity F from activity E and it should not be in the activity group. Hence i need to call the activity outside the actvivity group. I am using this method.

     Intent  Home1=new Intent(E.this,F.class);
     startActivity(Home1);

But the problem is device back key is not behaving properly when again i am coming back to activity E from F. When i hit 5 times back key then it takes me to Activity A. It should behave like F>E>D>C>B>A

I want to save the activity group state on activity E when going to activity F and when coming back it should behave normal when pressing back key.

Pls solve it..

  • 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-26T00:41:35+00:00Added an answer on May 26, 2026 at 12:41 am

    You might need to post a little more code.
    Where have you put this code?

     Intent  Home1=new Intent(E.this,F.class);
     startActivity(Home1);
    

    i.e. in which lifecycle method?

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

Sidebar

Related Questions

I have a design of activities like this I have one main activity and
I have a database in one activity that I want to open in another
I have one SubjectTabActivity and i need to show listview on this activity. But
I have an ArrayList of objects in one activity and I need this arrayList
I need to use Android ExpandableListView with custom layout for each group(groups have one
I am trying to display ListView . I have created one activity , in
Within one Activity I have th following piece of code: public void onStartMonitoringToggleClicked(View v)
My one activity seems to have grown quite a bit and I feel like
I have following function in one Activity public void AppExit() { Editor edit =
I have one class called Global and two other activities. In each activity 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.