Questions tagged as 'webview'

1
answer

I have the following error in the volley "jsonexception: end of input at char 0"

Sending the request the server behaves with no error, but on the side of the response it generates the following error "com.android.volley.volleyerror java.lang.runtimeException: bad url." I'm using Android studio, WebView and Volley. MainAct...
asked by 21.08.2017 / 15:59
1
answer

Run the gif during the webview load

Good night, I want to put a gif that appears until the page in webview is loaded completely ... the gif already has, I put a compile and I got the github code, my problem is that I am not able to run the gif before the web view. My plan is as...
asked by 11.09.2017 / 02:21
1
answer

URL is with Location as open in Webview Android

Personal in the url link I put in the webview location has been implemented. As soon as the user opens the site through chrome or any browser, a dialog will appear asking if it allows you to use the location. But in the webview does not appea...
asked by 05.08.2017 / 14:46
1
answer

Back in Webview

I have an application with webview and I wish that when I clicked the back button of the cell phone it would go back to the previous page, I do not know how I do, does anyone help me? Below is my code. package brasil500.brasil500; import a...
asked by 08.06.2017 / 04:18
1
answer

Any url open in webview?

I have my role: webView.setWebViewClient(new WebViewClient(){ @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.startsWith("http://www.hotelcolonialdosnobres.com/")) {...
asked by 04.11.2016 / 00:02
1
answer

"Timeout waiting for task." when trying to click webview button with espresso android

I have a button in an mdl-card of an html page that looks like this: <div class="mdl-layout-spacer"></div> <a id="btn15-minutos" href="#/" class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored dialog-button">...
asked by 12.08.2016 / 19:27
1
answer

WebView - Update option only appears once in onReceivedError, see more

Hello, I'm developing a project for my site, and until then it's getting really cool. But I had a problem and it is as follows, whenever the page of error I called the Snackbar feature, it looks like this: webView.setWebViewClient(new WebViewC...
asked by 01.03.2016 / 15:18
2
answers

Json + webview, basic doubt!

Good morning! I have a WebView, where I get a JSON and want to mount the WebView according to the data received. In this part of the code html += "<h1>" + nmTitle + "</h1>"; I put the variable that receives the JSON content...
asked by 05.11.2015 / 14:46
2
answers

Close the web pageView after loading

I'm using webView on iOS to access a web page within a native application using the objective-c language as in the following example: NSURL *url = [NSURL URLWithString:@"http://www.exemplo.com"]; NSURLRequest *request = [NSURLRequest requestWi...
asked by 09.10.2015 / 14:39
1
answer

WebView with GTK

In Swift I have a webview which is basically a Safari window, in C # .NET I have a webview which is practically an IE window. But in the other crossplataform languages that use eg GTK for generating windows like that I create a webview? how to u...
asked by 27.03.2015 / 03:25