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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:40:08+00:00 2026-05-15T15:40:08+00:00

In Android, the TabHost object renders activities in a type of inline way. I’m

  • 0

In Android, the TabHost object renders activities in a type of inline way. I’m wondering if there’s any way I can do a similar type of thing, without using the tab-host. Suppose, i want to have a toolbar or sliding drawer that allows me to switch between the activities in the same way that the TabHost does this. In other words, I’d like to render an activity inline inside of another activity, sort of like an iframe for activities…

  • 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-15T15:40:09+00:00Added an answer on May 15, 2026 at 3:40 pm

    Basically you need to play with LocalActivityManager and the ActvityGroup class:

    Suppose you have your DashBoard class:

    public class Dashboard extends ActivityGroup implements View.OnClickListener {
      super.onCreate(savedInstanceState);
    
        //Your view with the activity launcher buttons on the bottom for instance
       setContentView(R.layout.frame);
    
        @Override
        public void onClick(View v) {
    
    
            Intent intent = new Intent().setClassName(context,YourActivity.class);
    
            intent.setAction(Intent.ACTION_VIEW);
    
    
            LocalActivityManager localActivityManager = getLocalActivityManager();
    
    
            final Window w = localActivityManager.startActivity("uniqueID", intent);
            final View wd = w != null ? w.getDecorView() : null;
    
                 //the content of your activity goes here
            FrameLayout frameLayout = (FrameLayout) findViewById(R.id.tabcontent);
            frameLayout.removeAllViews();
            frameLayout.addView(wd);
        }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can the TabHost in Android 2.3 be fullscreen ? Usually, I use requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
Does anybody know of a website where I can find Android TabHost icons? (free
I want to consume a webservice and show that answer in tabhost on android.How
So im developing a android application and im using a tabhost. To handle the
Hi I need multiple tabs in my android screen, which i got by TabHost
Android is based on Linux; can native Linux applications be run on Android?
I'm building the example shown in this tutorial: http://thepseudocoder.wordpress.com/2011/10/04/android-tabs-the-fragment-way/ And I'm get some errors
I have a class which extends Application in an Android tabHost app. In the
I need little bit help related to android tabhost. I have 3 tabs and
Any clue why my Android app is hanging on this code block when I

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.