English | Site Directory

Android - An Open Handset Alliance Project

com.google.android.maps
public static interface

com.google.android.maps.MapView.OnLongPressListener

com.google.android.maps.MapView.OnLongPressListener

Interface definition for a callback to be invoked when the user has performed a longPress gesture in a MapView.

Summary

Public Methods

        boolean  onLongPress(View v, float x, float y)
Called when a longPress gesture has been performed.

Details

Public Methods

public boolean onLongPress(View v, float x, float y)

Called when a longPress gesture has been performed.

Parameters

v The view that was pressed and held.
x - x coordinate of the longPress event
y - y coordinate of the longPress event return True if the callback consumed the long click, false otherwise
Build m5-rc15i - 10 Jun 2008 13:54