I am using a webview to present some formatted stuff in my app. For some interaction (which are specific to certain dom elements) I use javascript and WebView.addJavascriptInterface()
. Now, I want to recognize a long touch. Unfortunately, onLongTouch
, in Android 2.3 the handles for text selection are displayed.
How can I turn off this text selection without setting the onTouchListener
and return true? (Then, the interaction with the "website" doesn't work anymore.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…