I trying to load "view-source:http://goo.gl/lEYQQf" link in webview. If I load this link in google chrome from PC, the link changes into this "view-
I need this access token. I have tried this code:
wv = (WebView) findViewById(R.id.webView);
wv.getSettings().setJavaScriptEnabled(true);
wv.getSettings().setLoadWithOverviewMode(true);
wv.getSettings().setUseWideViewPort(true);
wv.setWebViewClient(new WebViewClient() {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
}
@Override
public void onPageFinished(WebView view, final String url) {
Log.e("testing", url);
}
});
wv.loadUrl("view-source:http://goo.gl/lEYQQf");
The URL isn't loading as a result. When I take off the "view-source:" portion of the given url, I get another link in the output that does not include the access token. I have attempted two additional methods, but I am unable to obtain that token. How do I obtain it?