1

I have the Activity ONE with a header and some content on the top of the activity, and some content on the bottom of the activity.

I want to embed a MapActivity TWO on the Middle part of the Activity ONE.

It is possible? How to do it?

I'm checking ActivityGrup documentation and some questions like this: android: using ActivityGroup to embed activities but i can't find the way to achieve my needs.

Thanks

Community
  • 1
  • 1
NullPointerException
  • 36,107
  • 79
  • 222
  • 382

2 Answers2

0

Sounds like you want to use Fragments. They're available via compatability package to support API level 4 and up. There's lots of good tutorials on Fragments if you google it.

Jason Robinson
  • 31,005
  • 19
  • 77
  • 131
0

It is simply impossible to achieve it, i must move all the content from Activity A to activity B (map)

NullPointerException
  • 36,107
  • 79
  • 222
  • 382