0

I have already coded an app with a class which is extending tabactivty, but under one of the tabs I need to have a google map, but I don't want to extend the class with MapActivity, is there any way t use map rather than extending the main class with MapActivity?

because if I extend it with MapActivity I get loads of error.

Many thanks.

Zardaloop
  • 1,594
  • 5
  • 22
  • 43

2 Answers2

1

As far as I knew, you have to use MapActivity to get a MapView.

What errors did you get if you extends MapActivity?

Selkie
  • 1,773
  • 1
  • 14
  • 21
0

You could try Actionbar Sherlock library. Maybe that could help

akemalFirdaus
  • 606
  • 1
  • 7
  • 15