Hi PorcheFan, I managed to figure this out from a post here - http://down911.blogspot.com/2009/01/android-developers-re-webview-html-form.html, about another problem.
Anyway, the solution is a bit of a roundabout way of getting this behaviour, but it works for me. What you want to do is create a new class in your project that extends android.webkit.WebViewClient. Give it a constructor that just calls super(), and override the "shouldOverrideUrlLoading(WebView view, String url)" function. In this function, just "return false". Then, when you create your WebView, you'll also need to create an instance of your customisez WebViewClient, and call webView.setWebViewClient(myWebViewClientInstance). That should sort it! Please let me know if this helped or not. Thanks. On Jan 3, 8:53 pm, PorscheFan <[email protected]> wrote: > I've run into a snag and cannot get it to work, i am hoping someone on > here can help me. > > We have an app that uses a lot of webviews with links... we are using > a webview successfully and it loads the first page as it supposed to > (in a web view, no address bar), but any link that is clicked inside > of that webview causes android to open another web page in Chrome, > outside of the current webview, and it also displays the address bar. > > It's basically behaving like a web browser with a target="_blank" on > the a href. > > I would like the webview to open all windows in the same webview and > NOT show the address bar (so it looks like its integrated with the > app, not just on the initial display page). > > I've went through every settings I've seen in the doc... anyone know > if there is a magical setting I can use to make everything display in > the existing webview, even subsequent hyperlinks? > > Thanks much!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

