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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:17:19+00:00 2026-06-04T01:17:19+00:00

I have used Experience – Multiple Android Activities in a TabActivity to implement tab.

  • 0

I have used Experience – Multiple Android Activities in a TabActivity to implement tab.
I have the following condition.
MainActivity extends TabActivity (Tab1,Tab2,Tab3)
TabGroup1Activity extends TabGroupActivity (class from above url)

In TabGroup1Activity:

 @Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    startChildActivity("MyActivity", new Intent(this,MyActivity.class));


}

And in MyActivity.java class i used

        PayPalPayment payment = SimplePayment();
        Intent checkoutIntent = PayPal.getInstance().checkout(payment,
                MyActivity.this,new ResultDelegate());
        startActivityForResult(checkoutIntent, request);

But it doesnot execute onActivityResult method.
When i run this code in another project without tabs and activity group, it goes to onActivityResult, works fine.
what should i do to make it work here ?
Help Please !!

  • 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-04T01:17:21+00:00Added an answer on June 4, 2026 at 1:17 am

    Your onActivityResult is called on the ActivityGroup and not on the subActivity of your tabgroupActivity.

    So override the method onActivityResult , and then create an abstract method on the mother class of your SubActivities ( on the TabActivityGroup i think ), and override it on each subActivity .

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

Sidebar

Related Questions

I simply have 2 tabs and used Experience - Multiple Android Activities in a
I simply have 2 tabs and used Experience - Multiple Android Activities in a
I have a good amount of experience with RTI DDS and have used it
Disclaimer: I have no Twitter API experience nor have I used Twitter until today
I am used to developing in PHP/MySQL and have no experience developing with SQL
I have used the following code to display the previous and after years of
In my experience I have used many queries like select , order by ,
Possible Duplicate: Uses for multiple levels of pointer dereferences? I have used functions with
In my previous web development experience I have used LAMP setups. I am trying
We dont have a lot experience in oracle, Previously we have used mysql by

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.