title: Android: problem with debugging javascript in webview
body: <p>I have some javascript running in WebView, and I want to receive console messages about errors in JS.
  In accordance with the instructions at <a href="http://developer.android.com/guide/webapps/debugging.html">http://developer.android.com/guide/webapps/debugging.html</a> I overrided methods </p>
  
  <p><code>WebChromeClient.onConsoleMessage(String message, int lineNumber, String sourceID)</code> </p>
  
  <p>and </p>
  
  <p><code>WebChromeClient.onConsoleMessage(ConsoleMessage cm)</code>, </p>
  
  <p>redirecting messages to logcat. In android 2.1 it works well, but in android 2.2 none of this methods are  called.</p>
  
  <p>What I am doing wrong?</p>
  
  <p>Thanks.</p>