Questions tagged as 'webview'

1
answer

JavaScript Android Interface WebView Call Java function From JS onclick

I have all this code but I can not get JavaScript Interface to work with an html button to execute a function in java that starts an application with the intent method. I'm using Webview chrome client, an index.html file located in / main / a...
asked by 28.12.2017 / 17:34
1
answer

Push Notifications for Website

I have a hybrid app (web app shown through a webview on Android) and I want to put push notifications. I know what can be done if I go from a PC to a website that has that notification service. However, can it be done from a hybrid app of the ty...
asked by 12.07.2016 / 22:13
1
answer

ERR_UNKNOWN_URL_SCHEME Chrome webview client android html file href="tel:"

I need the necessary code to write to my MainActivity.java, to avoid the error ERR_UNKNOWN_URL_SCHEME , I am creating an android application with Chrome webview client that loads an .html file that contains buttons href="tel:" mailto: etc...
asked by 02.11.2017 / 17:50
0
answers

WebView Java does not load Bootstrap style

I have made a Web in Java EE and incorporated Bootstrap styles. Here you can see the files I use. I made a Webview a long time ago and everything worked fine showing me what it looks like in the browser, I had to format the comput...
asked by 20.11.2018 / 22:15
0
answers

Change the primary URL route from an iframe

I need to change the main URL of the page where an inframe is hosted, I did it in the following way, but I only change the url of the iframe but not the page where the iframe is hosted, how could I do this? I appreciate help var loc = window....
asked by 12.11.2018 / 19:31
1
answer

Inject Javascript when changing URLs in a WebView Android Studio

I would like to know if anyone could help me. My problem is that I am opening a web page within a web view, now this page has a navigation menu <aside id="left-panel"> <nav> <ul> <li><a href="distribuir_c...
asked by 08.11.2018 / 17:11
0
answers

What should I do so that the SSL error message does not appear or at least only appears once

In my WebView I am uploading websites that use security certificate, but to upload an APK to playstore a dialog box must be managed which indicates to the user if he wants to proceed or cancel the loading of the site, for which it is used a WebV...
asked by 30.08.2018 / 17:43
0
answers

Use localstorage or appcache on android with webview for a webapp exported from Construct2

Hello everyone! The truth is that I am new here, at least putting questions. The issue is that I have made a small webapp with Construct 2 and said webapp is able to read and write in localstorage, but when I run it as if it were a webapp on...
asked by 02.08.2018 / 13:53
0
answers

Your application has stopped WebView

I have developed an application that consists of a Main Activity and 9 other activitys, 6 of these activitys only contain a WebView The problem: When you open one of these WebView activities, nothing happens, but when you open a WebView fo...
asked by 01.08.2018 / 19:42
1
answer

Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value Xcode

Hi, I have an error in my Xcode project. I am trying to integrate the WebView logic to integrate the following code: import UIKit import WebKit class ViewController: UIViewController { @IBOutlet weak var reser: WKWebView! @IBOutlet...
asked by 21.07.2018 / 01:41