I am trying to capture the fact that a long click has occurred in a
MapView. Not sure if I am doing this right, because
OnLongClickListener.onLongClick() in the following implementation is
never called:

public class MyMapView extends MapView implements OnLongClickListener
{

    boolean hasBeenLongClicked = true;

// constructor etc. omitted

    public boolean onLongClick(View v) {
        hasBeenLongClicked = true;
        return true;
    }
}

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to