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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:57:20+00:00 2026-05-24T02:57:20+00:00

To keep it simple I have 3 screens. A, B and C. You can

  • 0

To keep it simple I have 3 screens. A, B and C.
You can access Screen B or C from screen A.
You can access Screen C from screen B
You can access Screen B from screen C

Data from screen A is passed to B and C

What I am looking to do is create a button on screen B and C and where ever they are takes it back to screen A. I do not want to start a new activity of A as it requires the data it created

Also is there a way to overrule what the back button on the phone does. ie if on screen C it goes back to A even is the user clicked B and then C?

Thanks for your time

  • 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-24T02:57:21+00:00Added an answer on May 24, 2026 at 2:57 am

    A suggestion is to work with results and startActivityForResult().

    If you are at C from B and you click on button to go to A you can set the result intent;

    Intent result = new Intent();
    result.putExtra("gotoA", true);
    setResult(RESULT_OK, result);
    finish();
    

    Then catch that result in B by overriding onActivityResult(), and checking the intent extra, then finish B.

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

Sidebar

Related Questions

Well, just to keep it simple: I have a webform. On it a button
I'm using simple statements to keep it, er, simple: The screen goes from 0,
To keep things simple, lets say I have a Node class, each node has
I will try to keep this as simple as possible. I have a rather
Is there any way to keep this simple JQuery animation from flashing? http://jsfiddle.net/v3DVf/6/
How can you keep track of time in a simple embedded system, given that
I am attempting to create a simple program that will keep a text log
I have an object called point that I can move around the screen with
To keep things simple, please allow the assumption that some code requires the use
I'm pretty new to SQL, so I'll try to keep it simple as to

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.