Questions tagged [webview]

Elements in graphical user interfaces that host HTML content. For Android, look at the android-webview tag. For iOS, look under uiwebview or wkwebview. For VS Code, look under vscode-webview.

A user interface element that displays web pages. Generally, it is the basis upon which you can roll your own web browser or simply display some online content within your application.

: WebView class reference for Android

: WKWebView class reference for iOS

: UIWebView class reference for iOS (deprecated)

: Webview API for Visual Studio Code

: WebView that is used in Ionic

WebView class reference for macOS (deprecated)

webview tag reference for Chrome apps

WebView: a Node that displays WebEngine content.

22469 questions
6
votes
1 answer

Android WebView resource files like js and css files caching

I am using WebView to load ASP.Net MVC website but loading page is very slow because of loading many.js files But when I load page in browser e.g. Google Chrome then page loading almost 8 times faster because browser cache the resource files, I…
Naveed Yousaf
  • 436
  • 4
  • 14
6
votes
3 answers

React Native onActivityResult not work

I have a webview component of React Native. The webview should support input type is file, so I do it as: File Upload in WebView and the webview implements ActivityEventListener and override onActivityResult.But the onActivityResult not working. The…
shawnXiao
  • 850
  • 3
  • 9
  • 16
6
votes
1 answer

JavaScript not reloading in Android webview?

I have made a simple webview application that pulls this HTML page that uses PHP and JavaScript: http://s-ka-paidbeats.com/app_tree/randomword/5.html The problem is that the JavaScript is not refreshing on my mobile device and I can't figure out…
skapaid
  • 169
  • 4
  • 17
6
votes
1 answer

Disable Android WebView WebRTC

Fresh Cromium WebView supports WebRTC and I want to disable it. Chrome app can allow do this in Chrome, so it seems not to be impossible. I was researching a lot and didn't find appropriate solution for this. Any help would be appreciated. upd.…
Va Fu
  • 93
  • 7
6
votes
1 answer

Android WebView Word Wrapping Pinch Zoom For Text Content

I'm devoloping ebook reader android projecd using WebView tool. I am zooming screen like pinch, in screen text size is growing but the texts is overflowing of screen, no wrap. How to text wrapping pinch zoom screen, are there any overload method to…
ATES
  • 281
  • 1
  • 11
  • 29
6
votes
1 answer

Get response headers in webview in shouldInterceptRequest in Android

I am trying to get response headers in webview when I post some url to the server. I am using shouldInterceptRequest method. @Override public WebResourceResponse shouldInterceptRequest(final WebView view, final WebResourceRequest request)…
Shantanu Jha
  • 145
  • 1
  • 4
  • 10
6
votes
4 answers

Cocoa WebView scrollbars won't disappear

I load the webview and set allowsScrolling to NO, but webview still shows scroll bars... Banging your head on your computer hurts a lot more now that MacBooks have sharp metal edges. My code: - (void)applicationDidFinishLaunching:(NSNotification…
BadPirate
  • 25,802
  • 10
  • 92
  • 123
6
votes
4 answers

Issues in loading Angular JS website in Android Webview

Hi EveryOne I am trying to load GTV into Android WebView.It loads in Mobile browser quite well but not in webview. Here is my Code. WebView theWebPage = new WebView(this); theWebPage.getSettings().setJavaScriptEnabled(true); …
Muhammad Ali
  • 522
  • 2
  • 6
  • 18
6
votes
2 answers

Enable Third party cookies for Android WebView

I have been facing some problem with Old API versions. Some Links of some websites don't respond as they have preconditions that third party cookies must be enabled for webview. I did some search on topic and found an API :…
Tarun Deep Attri
  • 8,174
  • 8
  • 41
  • 56
6
votes
2 answers

Location is accessed in Chrome, doesn't work in WebView

I have a WebView that opens a URL that requires access to the user's location. It can determine the location when using Google Chrome outside the app, but in the app, it says I am not allowing the application to use location. Currently I have added…
dchamb
  • 179
  • 2
  • 10
6
votes
1 answer

Print styles overriding screen styles after AirPrint in iOS webview

I am working on a hybrid HTML5/iOS app that uses the Safari Webview. We are using AirPrint to allow the user print the contents of the webview. The problem I am having is that after the print dialog is opened, the print styles are taking affect on…
Eric
  • 907
  • 7
  • 13
6
votes
1 answer

Is there an alternative to NestedScrollView for use with a WebView?

When using a WebView inside a NestedScrollView there are a few issues. The main one I'm fighting is that sites which load more content as you scroll down don't work well, for example vimeo.com. Also setting the view to LAYER_TYPE_HARDWARE doesn't…
6
votes
1 answer

How do I enable links to open in default browser on WebView

I'm learning OS X/Swift development and have loaded a webpage with contains links to other websites, how I open these links in the default browser. At the moment when clicking on the links nothing happens at all. This is my ViewController.swift…
orange
  • 5,297
  • 12
  • 50
  • 71
6
votes
1 answer

What CSS3 features are supported by Javafx8 Webview?

I know that the JavaFX WebEngine component has some features not included that are available in most modern browsers (WebGL, UserMedia, GeoLoacation). But I just found out that css3 features like background-gradient don't seem to be supported as…
P.J.Meisch
  • 18,013
  • 6
  • 50
  • 66
6
votes
1 answer

Embedded YouTube video modestbranding=1 not working with showinfo=0 in android?

I want to display YouTube video in my android application with the parameter modestbranding=1 and showinfo=0 in webview. When I tried this,then modestbranding doesn't work any more. if i remove showinfo then modestbranding parameter is working and…
Imran Ahmad
  • 85
  • 11
1 2 3
99
100