Questions tagged as 'webview'

1
answer

WebView configuration step by step

I'm developing an HTML5 application for mobile devices. I initially used tools like Adobe PhoneGab Build and App Inventor. For future project reasons, I have to use Android Studio. The problem is that both the official documentation when the c...
asked by 23.12.2016 / 15:37
1
answer

Android - Application restarting after minimization [closed]

I have an android application, where I only have one screen that gets a WebView. However, when the user accesses a page of the site, for example: mysite.com.br/contact and minimizes the app. When he reopens the app, instead of returning it on th...
asked by 02.01.2015 / 16:50
1
answer

By clicking the tab item the application closes

I'm making an application that has a tab, the first tab I put a webview, the second a map, when I enter the app and click on the map item, the app closes, the error happens after I refer to the map ViewController log: 2018-09-11 17: 21: 54.84...
asked by 11.09.2018 / 22:25
1
answer

Upload a local image within a Webview

I have a component WebView that loads a String HTML , the problem is that I can not load a local image inside this WebView . The image is inside the folder '../img/imagem.png' and when I put this "address" as source...
asked by 20.08.2018 / 14:27
1
answer

Webview problem

I'm trying to make an application in Webview, but when I click on a button that contains url it displays the if I want to open in which app, is there any way to make the app itself open the next page ?.     
asked by 16.07.2018 / 00:27
1
answer

open links mo webview without having placed http: // or https: //

I'm creating a browser for android, but I'm having trouble running the url without the need for the protocol on the link, such as open www.google.com and the app automatically puts http: // to stay link and webeview recognize the link. foll...
asked by 30.05.2018 / 05:25
1
answer

Visual error in WebView

To use a webview to expose my site, however on the sides it is with two white bars as in the photo. Code:@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_principal);...
asked by 03.04.2018 / 00:22
1
answer

Java WebView how to use

How do I use webview when I use: public void site(){ WebView browser = new WebView(); WebEngine webEngine = browser.getEngine(); webEngine.load("http://mySite.com"); } I have the error: Exception in thread "AWT-Even...
asked by 07.12.2017 / 21:07
1
answer

How to call a new Activity through a conditional structure that tests the connection?

I'm making a WebView app. It's quite simple: I test the connection truth case loads the site; false case loads another activity (other than main). While there is a connection, the app works fine loading the site. But when there is no connecti...
asked by 11.01.2018 / 23:12
1
answer

Monitor WebView url

Hello! I am doing some tests in my android application and in a certain activity I intend to put a webview. I would like to monitor the url of this webview, so when the user enters a predetermined url (example: www.google.com) the application pe...
asked by 10.10.2017 / 18:03