How to display map on emulator(our application)

by parth » Fri, 20 Jun 2008 02:46:06 GMT

Sponsored Links
 Hello friends,
My problem is that i want display map on my mobile application so that
please reply to me yuor ides
ok thaks

How to display map on emulator(our application)

by oegono » Tue, 24 Jun 2008 15:00:02 GMT

 Hi parth,

its really easy to display a pam on the mobile device.
The only thing you have to do, is to extend the MapActivity from the

Int the overridden onCreate(Bundle icicle) method you add a Map View
to the Activity like this:

                // create the mapView
                map = new MapView(this);

Running this simple Activity will show a Map on your screen.
Now you can control the map with a MapController or create Overlays
with your data.



Sponsored Links

Other Threads

1. Where can I get android web services information

Where can I get android web services information, I know java, but I'm
dummy in web services


2. How do i catch global events?

Hi all,

I want to write an application that monitors each and every keystroke
or move event that the user does on his phone.
How can i catch global events such as key strokes or motion events?
The point is catching them globally and not from within my application
-because my application will run in the background.



3. Overriding dispatchTap on a MyLocationOverlay

4. Issue running the emulator on os x with version 1.0r1

5. Hello Android code not compiling

6. NewBie asking

7. G1 vs. Fedora Core (6+) vs. udev