Well, I'm either stumping everyone or have asked a stupid
question ;^)...

I think the problem may be that the call to loadDataWithBaseUrl() is
within the WebView's webViewClient.shouldOverrideUrlLoading() method
and therefore cannot run the javascript at that point.

I'm now investigating using code like the following in the
shouldOverrideUrlLoading() method:

---------------------------------
webView.setWebViewClient(new WebViewClient() {
  @Override
  public boolean shouldOverrideUrlLoading(final WebView view, final
String url) {
    ...
    Message hrefMsg = android.os.Message.obtain();
    view.requestFocusNodeHref(hrefMsg);
    ...
    return true;
  }
});
---------------------------------

But I'm uncertain how to properly place the information about the
internal link href in the Message to make this work.

I have searched all over the android Google groups and can't find
anything about it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to