Skip to content Skip to sidebar Skip to footer

Using Android Mapview Without The Mapactivity?

I'm in the process of encapsulating Android features and services, and I was trying to find the code of the MapActivity of Android to see how it is managing the MapView it contains

Solution 1:

In my opinion, answer is not.I have not Tested it but i think no because MapActivityincluded some classes and method that is available to MapActivityonly. Its some how different from listviewin which listviewcan be drawn using ListActivityand Activity.

Solution 2:

No you can't use MapView without MapActivity the reason is MapActivity is special sub-class of Activity, provided by the Maps library, which provides important map capabilities.

Edit

You can display map as per your requirement and you can change it's size by width and height and display other control with it

Post a Comment for "Using Android Mapview Without The Mapactivity?"