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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:29:07+00:00 2026-06-17T23:29:07+00:00

I am using a class which is extending ActivityGroup and there is a method:

  • 0

I am using a class which is extending ActivityGroup and there is a method:

public void startChildActivity(String Id, Intent intent) {
    Window window = getLocalActivityManager().startActivity(Id,intent);
    if (window != null) {
        mIdList.add(Id);
        setContentView(window.getDecorView()); 
    }  
}

When debugging in Android 2.2,

getLocalActivityManager().startActivity(Id,intent)

is returning null. In 4.0 it’s working fine.

Has anyone faced this problem before? Please suggest what to do?

  • 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-17T23:29:08+00:00Added an answer on June 17, 2026 at 11:29 pm

    Did you read this note?

    Warning: There is an issue where, if the Intent does not include an explicit component, we can restore the state for a different activity class than was previously running when the state was saved (if the set of available activities changes between those points).

    This could maybe explain your problem. By the way It seems that you are trying to implement something like fragments. Better use the ActionBarSherlock this is a backport for older android versions.

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

Sidebar

Related Questions

I'm extending a libary class which has a public Method that I don't wan't
Okay, so I've got FavoritesList extending GalleryList which extends ListFragment: public static class FavoritesList
I have a grid view which is populated using a custom ImageAdapter class extending
I am extending a class defined in a library which I cannot change: public
I am using a class which has StringHandle field which is an IntPtr value
I am using service class which gives a call to my inner class that
i am using a class which extends Handler class to update my activity UI.
I extended the functionality of a line object using a class which takes a
The library I'm using has class G and class S which inherits G. I
Could someone tell me the advantages to using the ConfigurationManager class which load's a

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.