There is a method called onlongClick listener ...apply that method... it may help you..
On 16 June 2012 21:01, Andrei <entre...@gmail.com> wrote: > Hello. > For several days now can't find a solution how to handle a long press on > Google map. > I found a few detours: > 1) Add GestureDetector as an overlay on the map > 2) Do the calculation and determine a long time. > But I don't understand why is not working OnLongClickListener if I ask for > mapView, or define it in the class inherited from the > ItemizedOverlay<OverlayItem>. Method onTouch works fine, but why didn't it > work onLongClick > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en