Question

I have used maps many times before, but this is the first time I have ever tried to use it within an ActivityGroup. I have spent hours pulling my hair out trying to figure out why the maps won't show (just showing the grid) and it turns out that it is simply because the Activity is in an ActivityGroup.

I googled the problem but all found was people asking how and not getting any answers.

Does anyone know if there is a way to get maps working inside an ActivityGroup?

Was it helpful?

Solution

ActivityGroup manages other activities. An activity with a map has to extend MapActivity (which ActivityGroup obviously does not).

So you can embed an activity that displays a map, but your activity group can't display the map itself.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top