views:

18

answers:

0

I am writing app, that should authorize on twitter. I load to WebView Link to my app's server, which redirects me to twitter authorization page. Before this, user is logged in on my app server with DefaultHttpClient.

If i just writing webView.loadUrl(link); everythig works correctly, but if i'm adding webView.setWebViewClient(new WebViewClient(){}); before loading link - it redirects me to authorization on my app's server.

What should i do to remove this redirection?