try {
view.loadUrl(URL_1);
Thread.sleep(1000);
String a = view.getUrl();
TextView txt = (TextView) findViewById(R.id.textView2);
txt.setText(a);
} catch (InterruptedException e) {
e.printStackTrace();
}