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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:15:08+00:00 2026-06-18T08:15:08+00:00

i use three activity ActiviytA, ActivityB and ActivityC.from ActivityA have onActivtResult function i need

  • 0

i use three activity ActiviytA, ActivityB and ActivityC.from ActivityA have onActivtResult function i need result from Activityc in b/w i travel through the activityB

  • 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-18T08:15:09+00:00Added an answer on June 18, 2026 at 8:15 am

    If I understood well, you open ActivityB from ActivityA, and then ActivityC from ActivityB. You want ActivityA to get values from ActivityC.

    Probably the easiest way is to store the values as static, and read them directly from the class.

    If you want to use StartActivityForResult (so you can get the results from onActivityResult), you should make ActivityB receive the results from C, and then make ActivityB pass the results to ActivityA:

    ActivityA implements ResultsReciever. Then start Activity B, and retrieve the calling activity (ActivityA) with

    interface ResultsReciever{
        executeSomething(ArrayList values);
    }
    

    Declare ActivityA implementing the interface:

    public class ActivityA extends Activity implements ResultsReciever
    

    On Activity B, at the onStart method:

    ResultsReciever caller = (ResultsReciever)getCallingActivity();
    

    Then ActivityB starts ActivityC with StartActivityForResult(). In the onActivityResult in ActivityB you can call then:

    caller.executeSomething(whatever);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have three activities: Activity A - Displays a list of data from a
I need use this method with three distinct classes: Orders, Customers, Suppliers public void
I have three tables (individuals, groups & recordlabels) and want use the information between
i have two sub activities apart from main activity. The sequence of calls go
I have manager classes that take an activity as a listener. I use the
I have three backgrounds, say for the activity. The displayed background will depend on
I have an Activity that retrieves data from a web service. This data is
In my application I have three activities A, B and C. Activity A is
I have two Activities. Activity A gets a large amount of information from the
I have one superclass in my android project that inherits from activity and implements

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.