Questions tagged as 'webview'

2
answers

How to implement Swipe To Refresh in WebView?

I want to implement Swipe To Refresh in my WebView, is it possible? I know I have Pull To Refresh but I can not download add-ons (dependencies) at the moment. I researched a lot on the internet and found something like this: browser.loadUrl("h...
asked by 24.02.2016 / 03:01
1
answer

Run a video in html5 in full screen

I'm using this solution to load an html that has a js that loads a url of an encrypted video. Everything is fine however, I need to give the first play in the video (click on the webview) the video to be executed in fullscreen immediately. Is...
asked by 03.08.2015 / 17:33
1
answer

WebView on Android by modifying HTML

I'm able to load the URL on my device using WebView , but the page you're uploading is not mobile-friendly. I would like to know if I have access to the page, however, by deleting some parts of HTML. Code below: MainActivity.java: public c...
asked by 02.11.2014 / 21:33
2
answers

Links in Webview do not work

Has anything changed in the implementation of WebView, WebViewClient for Android 7? I have some html files in a subfolder inside the Assets folder. The list.html file, which contains other links that call other html files that are in the sa...
asked by 30.06.2017 / 04:46
1
answer

Close Dialog after 10 seconds open

I would like dialog to close after 10 seconds. I can only do this by clicking the button. Follow the code. AlertDialog.Builder alert = new AlertDialog.Builder(this); WebView wv = new WebView (this); WebSettings webSettings...
asked by 14.09.2017 / 19:39
2
answers

How to create an application without title bar?

I want to create a app web with a WebView . How can I create an application without the title bar other than fullscreen ?     
asked by 08.07.2016 / 21:31
1
answer

How to enter a value in the prompt box?

I need to access a webpage through the WebView component. 1- I can load the page. 2- I can intercept the button event. I can not insert / inject var name = prompt("Introduza o numero:"); Note: The page is only available...
asked by 07.11.2017 / 16:07
1
answer

Web page does not open in my WebView [duplicate]

I made a browser using WebView , but when I call loadUrl(); it opens the page in the default Android browser. How do I open it inside my browser?     
asked by 08.06.2016 / 15:08
1
answer

Check if the webview is loaded

I need to check if the webview is loaded to be able to execute a javascript function that is in the webview, but I do not know how to check if the webview is already 100% loaded. follow the code: WebView webView = (WebView)findViewById(...
asked by 22.06.2016 / 02:48
1
answer

Alternatives for not using WebView

Are there any alternatives other than webview for android to use? I'm having a problem that, it seems, a lot of people have to run videos in the video tag of html5 . Many people say the solution is simply to use the webchromeclient and...
asked by 04.07.2016 / 21:21