Code example for GestureDetector.OnGestureListener

Methods: onDown

0
	} 
 
	@Override 
	public boolean onDown(MotionEvent e) {
		if (onGestureListener != null) {
			return onGestureListener.onDown(e);
 
		} 
		return false; 
	} 
 
	@Override 
	public boolean onDoubleTap(MotionEvent e) {
		if (onDoubleTapListener != null) {
			System.out.println(e.getX());
			System.out.println(e.getY());
			Geo = mappy.getProjection().fromPixels((int) e.getX(),
					(int) e.getY());
			itemizedOverlay1.setItem(0, (new OverlayItem(Geo, "shit",
					"moreshit"))); 
Stop searching for code, let great code find you!  Add Codota to your java IDE