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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:58:27+00:00 2026-06-09T08:58:27+00:00

I know there are a few questions like this but what I’m looking for

  • 0

I know there are a few questions like this but what I’m looking for is slightly different the way I see it.

THE PROBLEM

I have one Activity and I am only ever going to have one Activity.

I do however have multiple Fragments; one of which contains a MapView.

I have successfully got this working in API level 3.0 and greater. However, the problems start when I want to go lower than this using the compatibility library as I then need to make my Activity extend FragmentActivity to get Fragments to work and then I obviously lose the ability to also extend MapActivity

THE QUESTION

How can I use the Compatibility Support Library to enable the use of Fragments and a MapView within the same Activity?

Any help would be greatly appreciated.

P.S I personally think it’s ridiculous they didn’t include support for this within the Compatibility Support Library.

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

    I’ve done exactly this! Using this:

    https://github.com/petedoyle/android-support-v4-googlemaps

    It took some time, but with this, I’ve been able to have Fragments and a MapView inside the same Activity down to 2.3 (probably lower, as well). You basically get the jar from that github site, which is called android-support-v4-r7-googlemaps.jar, and use that instead of the default support library. With that, your main activity still extends FragmentActivity (which is extending MapActivity in the background).

    There should be a readme at that same link for further direction.

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

Sidebar

Related Questions

I know there are already a few questions like this but I can't seem
I know that there are a few questions like this on SOF, but I
I know there are a few hundred answers to questions like this on StackOverflow
There are a few similar questions, but nothing like this. How do you deal
I know there are a few questions on this already but I can't seem
I know there are a few of this kind of questions around, but I
I know there are a few questions on stack already regarding this, and I
there are already a few questions relating to this problem. I think my question
I know there are already some questions about this, but not that specific. I
I know this questions has been asked a few times here. But these seem

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.