I tried that.. onCreateWindow of WebChromeClient does not seem to get called.
On Sep 27, 3:59 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Try also implementing a WebChromeClient and look at onCreateWindow(). > It may be that the default implementation of onCreateWindow() (which > returns null) means to block the popup. > > > > > > On Mon, Sep 27, 2010 at 6:07 AM, KK <krishnakumar.ramachand...@gmail.com> > wrote: > > I am very new to both android webkit and javascript. I have a web page > > with 3 links (say A,B,C). When I open that page on my PC > > browser(Chrome), and click on the links, A opens in the same browser > > window whereas B and C pops up a new window. In my application I am > > loading the original URL in a WebView. I have implemented my > > WebViewClient and overridden the shouldOverrideUrlLoading. I am > > getting the call to shouldOverrideUrlLoading whenever I click on A, > > but not getting it when I click on B or C? Can someone help me as to > > why this is happeneing? > > > Thanks > > KK > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training in London:http://skillsmatter.com/go/os-mobile-server -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en