On Thu, Mar 10, 2011 at 9:57 AM, Raghav Sood <[email protected]> wrote:
> I have one more question. How do I restrict the WebView Browsing to only 1
> domain i.e. users can only browse .com sites.

Use a WebViewClient and shouldOverrideUrlLoading().

> P.S. Mark your commonsware site copyright reads 2009

That would be because that code was written in 2009.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training Worldwide: http://commonsware.com/training

-- 
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