Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wv = (WebView) this.findViewById(R.id.wvtour);
- wv.loadUrl("https://roundme.com/tour/114616/view/");
- // Enable Javascript
- WebSettings webSettings = wv.getSettings();
- webSettings.setJavaScriptEnabled(true);
- // Force links and redirects to open in the WebView instead of in a browser
- wv.setWebViewClient(new WebViewClient());
- String url="https://roundme.com/tour/114616/view/";
- wv =(WebView) this.findViewById(R.id.wvtour);
- wv.getSettings().setJavaScriptEnabled(true);
- wv.loadUrl(url);
- Uri uri = Uri.parse("https://roundme.com/tour/114616/view/");
- Intent intent = new Intent(Intent.ACTION_VIEW, uri);
- startActivity(intent);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement