[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-13 Thread Jack C. Holt
Well, I now have the solution and it had nothing to do with requestFocusNodeHref() and a lot to do with using javascript. But I believe I was right about my code being in the call tree of loadDataWithBaseUrl(). What I had to do was turn on Javascript by using this code: WebSettings settings = we

[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-13 Thread Jack C. Holt
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 c

[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-02 Thread Jack C. Holt
I have googled for strings like "WebView internal link", read the FAQs, and read the online docs for WebView, WebSettings, WebViewClient, WebChromeClent and still I have not been able to determine how to make the web pages I have generated (which contain internal links [i.e., tags]) jump to an in

[android-developers] Re: Jumping to #link after using loadDataWithBaseURL()

2009-01-01 Thread Jack C. Holt
Sorry, I forgot to mention that I am using the .loadDataWithBaseUrl() method. I assume that if I had used the loadUrl() this would not be an issue but I need to generate the HTML that is to be displayed in the WebVew. BTW, I tried appending the fragment (i.e., "#12" to the end of the base URL an