Most voted "webview" questions
Webview is a user interface element that displays web pages. It is usually the basis on which a developer can create his own web browser or simply display some content online or in HTML format within his application. Use this tag for Webview related development topics for Android platform and if for IOS development, use Uiwebview.
Learn more…156 questions
Sort by count of
-
9
votes1
answer1656
viewsYoutube on Webview for Android app
Does anyone know how to view a Youtube video or any streaming video through a WebView? In the code below, there are three buttons. The first takes the user to the link he typed, the second is fixed…
-
7
votes1
answer1682
viewsInput type file does not work in webview
I have an HTML page that has a form of upload imaging in Chrome on pc or any browser works but in my app that has a WebView that opens this page then click on Choose file he does nothing. It is…
-
7
votes1
answer458
viewsIs webview useful to use as an application UI?
Context I saw a Steve Sanderson’s article about an experimental project called Webwindow that uses a Webview component available on the operating system to use as the UI of an application. This is…
-
6
votes1
answer4491
viewsMake URL open in the same Activity
I’m creating a WebView for Android. When I load the App, the imported page works perfectly, but when I click on some link page, that same link opens in another browser. I wonder how I can make all…
-
6
votes1
answer505
viewsHow to increase the text size of a Webview?
My app reads RSS feeds. but what bothers me is the letter that is small, I want to leave a little bigger that is visually "right" in a standard way. It’s like this: But I want to make it bigger to…
-
6
votes1
answer500
viewsRefresh in Webview when rotating device
I created my application via WebView, but when I rotate the screen the site gives refresh, or is back to the login, my code: Mainactivity: package com.sirseni.simpleandroidwebviewexample; import…
-
5
votes1
answer1241
viewsCustomize android webView error page
Please have a webview on my android app, how can I customize if the user doesn’t have internet ? Thank you Code of the current webcview : WebView wv=(WebView) findViewById(R.id.webView); WebSettings…
-
5
votes1
answer168
viewsLoad Webview in Objective c
I set up a Builder interface to load a webview, with . h, . m and .xib. In a side menu, when clicking on an option, I need to call this webview. Running the application, clicking on this option…
-
5
votes1
answer2046
viewsAccess the camera of the mobile phone in a Webview in Android Studio
I am creating a QR code reader on a website and now I need to use this site in a mobile version, for this I am creating a Webview that is opening the site. In any browser the QR Code reader works,…
-
3
votes1
answer1604
viewsWebview on Android, modifying HTML
I’m able to upload the URL to my device, using the Webview, but the page that loads is not adapted for mobile devices. I wonder if there is a way I can access the page, but eliminating some parts of…
-
3
votes1
answer711
viewsRun a full screen Html5 video
I’m using this solution to load an html that has a js that loads a url from an encrypted video. Everything goes very well however, I need that when giving the first play in the video (click on the…
-
3
votes1
answer336
viewsBlocking the Webview cache
I’m designing a Webapp, and I use a Webview to open a specific url within the app! Only the app is caching everything, so in case I come to make any changes to the site, the app doesn’t "compute"…
-
3
votes2
answers667
viewsHow to implement Swipe To Refresh on Webview?
I want to implement Swipe To Refresh on my Webview, is that possible? I know you have Pull To Refresh but I’m not able to download add-ons (dependencies) at the moment. I did a lot of research on…
-
3
votes1
answer1880
viewsHow to view or download any PDF file in Webview?
I tried to find some solutions to the problem. But there are only codes that download a specific file. I have a website that opens in a webview. On the page there are several Pdfs. I need a code…
-
3
votes1
answer988
viewsAlternatives for not using Webview
There are alternatives other than webview android to use? I’m having a problem that from what it seems, a lot of people have that is to run videos on the tag video of Html5. Many people say that the…
-
3
votes2
answers536
viewsWebview updating URL page when rotating the screen
I’m running a test on the webview and it’s ok. But when I turn the smartphone it updates my page url. I would like to keep the rotation without this update, keeping it on the screen that the url is.…
-
3
votes1
answer1397
viewsOpen camera/file by Webview
I made an application to open my responsive site using Webview from Android Studio. Wheel ok, but when I need to send some file through the site, take a photo and save, do not open the camera!…
-
3
votes2
answers2623
viewsView PDF in Webview
I am developing an application for a Clinical Analysis Laboratory. It has an online system where you can view the results. On the site, it has a list of all customer exams and when I click on the…
-
3
votes1
answer866
viewsClose Dialog after 10 seconds open
I would like the dialog close after 10 seconds. I can only do it by clicking the button. Follows the code. AlertDialog.Builder alert = new AlertDialog.Builder(this); WebView wv = new WebView (this);…
-
2
votes2
answers213
viewswebView on iOS is not accessing some websites
I’m trying to develop an iOS app using the objective-c language. But I have a domain .metaweb that I need it to access is not loading. I noticed that some sites like for example facebook,…
-
2
votes1
answer383
viewsCheck URL loaded in a Webview
Good afternoon, everyone. In Java we have a function called shouldOverrideUrlLoading that checks every URL loaded inside a Webview, so I can create conditions to decide how the APP should behave.…
-
2
votes1
answer168
viewsWebsite does not open in my Webview
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?
-
2
votes1
answer262
viewsCheck if webview is loaded
I need to check if the webview is loaded in order to execute a javascript function that is found in the webview, but I don’t know how to check if the webview is already loaded 100%. follows the…
-
2
votes2
answers235
viewsHow to create an application without a title bar?
I intend to create a web app with a WebView. How can I create an application without a title bar that isn’t fullscreen?
-
2
votes0
answers184
viewsHow to change HTML input values with Edittext using Webview?
Is there any way to change a form field by taking the Edittext value, using a Webview client ? I have an application in which accesses my site and there are 2 fields, a user and another password,…
-
2
votes0
answers72
viewsWebview does not open popup - Windows Phone 8.1
I’m trying to get an authentication through a URL, up to there everything traquilo. But on the site, which I’m trying to authenticate, it is possible to log in with facebook but, by using this…
-
2
votes1
answer113
viewsFloating menu on a webview - UWP
I wish you could guide me on one thing. How to do when I right click on a link opened in a Webview open a menu of options with functions such as copy link and open link?…
-
2
votes1
answer400
viewsSaving Webview history/cache
I’m building an app WebView, where the first screen is login. I would like the fields login and password could be recorded, so when the user closes the app those data were not lost.…
-
2
votes1
answer581
viewsHow to use HTML files from the Assets folder in a Webview
I know there are several similar questions, but in all of them I have found no method to help me. As it is in Activity: package com.example.guilherme.webviewteste; import…
-
2
votes1
answer68
viewsXamarin Webview with angular
I have a Webview rendering a site in angular, but in some pages it works smoothly and in others it does not, when I post a post it from the error of Xmlhttprequest due to access control checks. I…
-
2
votes1
answer1860
viewsWebview opens browser
I made an application via Webview on Androidstudio, everything quiet without errors but when I put the information to login in my webview opens the default browser, I would like it to open in…
-
2
votes2
answers522
viewsWebview links do not work
Something has changed in the implementation of Webview, Webviewclient for android 7? I have some html files in a subfolder inside the Assets folder. The file html list., which contains other links…
-
2
votes1
answer209
viewsHow to insert a value into the prompt box?
I need to access a web page, through the component WebView. 1- I can load the page. 2- I can intercept the button event. I can’t insert/ inject var name = prompt("Introduza o numero:"); Note: The…
-
2
votes0
answers122
viewsHow to insert Runtime permission into a webview that gets the user’s location?
So.. I’m starting to create a webview and the site I’m basing on has an option to get the coordinates from a certain location, on the site this works perfectly, but when I put on APP he opens the…
-
2
votes2
answers511
viewsiOS: open pdf of webview in browser OR download pdf
I’m working on an iOS app with Swift. It works perfectly, but when I click on the pdf download link, it just displays the pdf. I wanted him to downdload OR open the pdf in the browser outside the…
-
2
votes1
answer412
viewsWhat does it mean to say that, an app is Webview? What is the relationship with Xamarin?
Starting studies on a Xamarin project, I found a number of nomenclatures and some explanations that seem contradictory, so I have some doubts: I heard that Xamarin and Xamarin.Forms, NAY are…
-
1
votes1
answer74
viewsHow to use Stagewebview
I need to implement an Application to show HTML texts already formatted, these texts are with images. I found two options: Webview - But I can’t use it as a component, just instantiating and playing…
-
1
votes1
answer95
viewsWebview with GTK
In Swift I have a webview which is basically a safari window, in C#. NET I have a webview which is practically a IE window. But in other cross-platform languages that use for example GTK for window…
-
1
votes0
answers66
viewsHow do I detect startNestedScroll(int) in custom Webview?
I have a custom Webview inside a custom Viewpager which has a Vertical scroll. I need to scroll in viewPager when the webview scroll reaches the end. Someone can help me?
-
1
votes0
answers93
viewsAndroid - Httpurlconnection cookie
I have a native login screen on android, which the user enters login and password, and does a check via Httpurlconnection if the data is correct, if yes then it saves the cookie, and returns that…
-
1
votes2
answers212
viewsClose webView page 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"];…
-
1
votes1
answer410
viewsWebview always asking where I want to open the url
My Web View every time I test on my mobile phone is asking me how I want to open the url, but I need it to open in webview. Well the code is this : Java activity. import…
-
1
votes1
answer67
viewsDownload tagged <a> in webview
Hello! I have a webview working, I’m trying to create the following html tag: for(int i = 0; i < nm.size(); i++) { html.append("<a…
-
1
votes1
answer301
viewsOpen Video in a Webview
I made a java browser for Android using webviews, it works perfectly except for the fact that it does not play videos via stream. I want to know how do I make it possible? Thank you..…
-
1
votes2
answers177
views -
1
votes1
answer182
viewsHow to call an id hosted in the Activity layout extended by Fragment?
Well, I’m developing an app, in which if you have a navigation Drawer and in this navigation I put to open each item in a new Activity, and in each acitivty will have a layout, right so far okay.…
-
1
votes1
answer122
viewsHow do I only get links from my domain to open my application?
If I click on a link related to my site, I would like in the list of applications that can open that link (Google Chrome, UC Browser and etc), also appear my application, which is a very simple…
-
1
votes1
answer242
viewsWebview - Update option appears only once in onReceivedError, see more
Hi, I’m developing a project for my site, and until then it’s getting really cool. Only I had a little problem and it’s like this, whenever the page gives error I called Feature Snackbar, getting…
-
1
votes1
answer185
viewsDoes any url open in webview?
I have my job: webView.setWebViewClient(new WebViewClient(){ @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { if…
-
1
votes0
answers194
viewsWebview component in Ionic?
Is there any component or plugin of Ionic that resembles the WebView of Android? Need to load a web page into the app.