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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:39:33+00:00 2026-06-10T03:39:33+00:00

I am starting with ActionBarSherlock. I know how to load content (other activity for

  • 0

I am starting with ActionBarSherlock.

I know how to load content (other activity for example) in a tab without this library but I haven’t find how to do it with Sherlock.

In a normal case I usually create a new Intent and load it through “setContent”:

TabHost.TabSpec spec;
intent = new Intent().setClass(this, SQLFavouritesFragmentActivity.class);
spec.setContent(intent);

In Sherlock I have seen a method called “onTabSelected” but I don’t know how to use it neither how to relate with tabs.

any suggestion, idea or tutorial?

thanks a lot.

  • 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-10T03:39:35+00:00Added an answer on June 10, 2026 at 3:39 am

    Activities as being the contents of tabs has been deprecated. There is no support in ActionBarSherlock, or the native action bar, for hosting an activity in a tab.

    If you convert the activity in question to be a fragment, you can load the fragment into your UI when the tab is selected.

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

Sidebar

Related Questions

Starting from this example: http://support.microsoft.com/kb/828736 I have tried to add a test function in
Starting from this Question I discovered that using the powershell.exe.config to load .net Framework
Starting out with Windows Azure, but how do I know which is better to
Starting with a recent new version of ADT, I've noticed this new attribute on
Starting from an Html input like this: <p> <a href=http://www.foo.com>this if foo</a> <a href=http://www.bar.com>this
Starting from an Html input like this: <p> <a href=http://www.foo.com>this if foo</a> <a href=http://www.bar.com>this
starting with priority_queue s, I have a problem like this: I need elements to
Starting Komodo IDE 7 on Ubuntu 11.10 crashes in libcrypto.so during startup (see this
Starting the development of my android app,that uses Maps API, I didn't know that
Starting this morning, if I try to write in the following method using autocomplete

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.