How to handle a "long press" on a mapview/map overlay

by Amos » Fri, 14 Nov 2008 01:48:51 GMT

Sponsored Links

I want to be able to handle "long taps" on a mapview (or, preferrably,
a map overlay), like LongClick events. tap events are handled by these
classes, but I found no way to differentiate regular taps from long

I can probably implement this in the onTouchEvent method - but I don't
want to reinvent the wheel if there's already a way to do this. Any


How to handle a "long press" on a mapview/map overlay

by dyonis » Fri, 14 Nov 2008 01:49:43 GMT

 O que voces acharam das novas musicass????
----- Original Message ----- 
From: "Amos" <[EMAIL PROTECTED]>
To: "Android Developers" <>
Sent: Thursday, November 13, 2008 1:48 PM
Subject: [android-developers] How to handle a "long press" on a mapview/map 


Sponsored Links

How to handle a "long press" on a mapview/map overlay

by JP » Fri, 14 Nov 2008 11:39:42 GMT

 Using TouchEvent is totally simple. I am using it to determine a long
tap. It's a one-liner.


Other Threads

1. bionic for x86?

Hi all

Has anyone compiled bionic to x86 version?
Although there have some directorys named arch-x86, but some *arm
folders have no corresponding  *x86 folder.And the files in
bionic have only arm content, no x86 content.
Is bionic x86 ready??

-----------find result for arm and x86------
$ find . -name *arm*
$ find . -name *x86*

unsubscribe: [EMAIL PROTECTED]

2. Linkify addresses

Does anyone have any idea what MAP_ADDRESSES pattern supposed to
I added Linkify ALL to my EditText and it properly matches all URLs
and phone numbers but does nothing for addresses. Also Linkify thinks
that any number is a phone number which is insane - what were google
dudes smoking and more to the point where can I get the same good
stuff :)

3. Unable to resolve superclass of Overlay and MapPoint

4. NUMBER_KEY not updated when phone number in Contacts is changed by user

5. Location-based Service APIs

6. developing on DEC Alpha with FreeBSD

7. battery level