dai wrote:
 Does some please let me know how to use webview?
 I want to make a webview keep to work wthin in a layout without
 opening new web browser when clicking a link tag.

You need to attach a WebViewClient to the WebView and implement
shouldOverrideUrlLoading(). In there, load the replacement URL into the
WebView.

there's no need to initiate a load from shouldOverrideUrlLoading() -- returning false causes the WebView to handle the load itself.

hth
--
jason.vp.engineering.particle
-- 
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