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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:38:32+00:00 2026-06-10T15:38:32+00:00

In my app there are 5 Activities and flow is A >> B >>

  • 0

In my app there are 5 Activities and flow is A >> B >> C >> D >> E >> F.

B is TextBox where user enter details and i am saving the detail using static variable method.

D is locationActivity and in this also i am saving data using static variable method.

E is the summary screen having textView to display results from all the activities.

F is final view which displays all the data with some animation.

Now the problem is if in summary screen user find’s that he has entered his details Wrong and wants to edit it then how he will do that without losing data obtained from location activity.

Is there is a way other than E >> B then B >> E,because I don’t want to put an extra button in activity B and i am also not sure will the user get actual data from location activity after he edits his details in B.

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-10T15:38:33+00:00Added an answer on June 10, 2026 at 3:38 pm

    Use

    @Override 
    public void onBackPressed() { 
        Intent intent = new Intent(ActivityE.this, ActivityB.class); 
        finish();
        startActivity(intent); 
    }
    

    in activity E and use intent.putExtra() to pass any variable from E to B

    So when u press the back button of your device u should go to activity B.

    Here is tutorial

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

Sidebar

Related Questions

In my app there is a button, user just click it then the latest
Hello i am using SocializeActionBar for my app there i have multiple links. I
When hosting WPF user controls within a WinForms MDI app there is a drawing
I am writing a android application using sqlite . There are many activities and
We have an Android app that consists of about 20 activities. Whenever there is
I have an android app, where there are couple of activities. Each of the
In my app are activities which are displaying user sensitive data (inbox, passwords, bank
One of the activities in my app needs to display a static map (a
In one of the activities in my Android app I want the user to
I'd like to be able to log user activities in a web app. I'm

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.