Regarding Question #2: Look into Google's ItemizedOverlay (it's documented over at the code.google.com page for the Android Maps API). Unfortunately, Maps is closed-source and that means all of its drawables as well, so you will not be able to use those graphics to achieve an identical map pin or popup when you click the pin. You will have to create all your own drawables for this. To display the popup when the user clicks a pin, override onTap() in your subclassed ItemizedOverlay and then you will have to calculate the offset [basically the height of your pin] and then display the popup at the appropriate GeoPoint. Unfortunately, if you want to keep things seamless, you'll have to adjust the GeoPoint position of the open popup when the user zooms on the map [you'll understand once you mess around with it]. Hope this helps.
I'm unclear as to what your problem is in Question #1, so I'll wait for a more detailed description. I don't see how you are able to click a menu item repeatedly in a previous Activity after starting a new Activity with an Intent... Shouldn't that previous Activity with those menu items be gone after the first click changes the Activity? ::Confused:: -Nick On Apr 1, 4:18 am, Kumar Bibek <[email protected]> wrote: > 1. Well, if you are executing the same piece of code everytime, the > code will get executed. :) > Can you please explain a bit in detail what you want to achieve. > > 2. You can create Overlays on a MapView to create this kind of effect. > Search for some tutorials on Map Overlays. > > Thanks and Regards, > Kumar Bibek > > On Apr 1, 3:12 pm, thetuxracer <[email protected]> wrote: > > > > > Hi, > > I have two unrelated questions: > > 1. I have this code, where I use putExtra(), and create an intent, and > > use getExtra() in the new intent. This happens on a menu press. > > But when I use the menus repeatedly, a lot of intents are created. and > > pressing the back button of emulator cycles through all the intents. > > Is there any way to limit my program between the intents I have > > created? or is there any function I need to use? > > > 2. Is there anyway to create this, on a > > MapView?http://i44.tinypic.com/105y5n7.gif > > > Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

