Code example for GestureDetector.SimpleOnGestureListener

Methods: onSingleTapUp

0
        	} 
        	*/ 
        	if (tapped_overlay) {
        		tapped_overlay = false;  // ignore and reset flag
        	} else { 
        		if (mTapDetector.onSingleTapUp(ev)) {
        			removeAllViews();  // remove bubble bcos non-overlay was tapped
        		}	 
        	} 
        	return consumedTouch;
        } catch (OutOfMemoryError memoryError) {
        	Log.d("MapView", "Memory error in onTouch handler");
        	memoryError.printStackTrace();
        	System.gc();
        	return false; 
        } 
	} 
 
	////////////////////////////////////////////// 
	 
	void setup() {