Questions tagged [android-webview]

Part of the Android API. A View that displays web pages. This class is the basis upon which you can roll your own web browser or simply display some online content within your Activity.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

only open ads in browser in webview android

i want to open only Ads in browers and the rest of the all app links open internaly in webview. please help me i want to submit this to my client. only problem with ads otherwise everything is works ...
hamza salam's user avatar
0 votes
0 answers
8 views

How can I print from a webView in android?

I have a webView app that displays a website. In that website there is a print button which webView does not permit to use the window.print() method. How can I capture the event triggered by that ...
Rea Meir's user avatar
0 votes
0 answers
13 views

Callback Function not defined on webview on the second run [flutter]

I have made a webView in flutter from another page, and a javascript channel reportViewerInitializeEnded After i run and go back to the previous page, when i click on generating the webview again,this ...
bluends's user avatar
  • 155
0 votes
0 answers
12 views

OnShowFileChooser of BridgeWebChromeCLient not getting called?

I have created an ionic project and converted to android via 'ionic cap buil android' command. This app just needs to open the gallery on a button click . I see the code to open gallery in ...
DroidBee's user avatar
1 vote
1 answer
18 views

Fullscreen buttons are not working in Expo webview

I have made a simple Expo webview app. But when I load youtube or other video websites in the app it disables the fullscreen button automatically. Suppose I played a video in youtube web and I click ...
nymnly's user avatar
  • 11
-1 votes
1 answer
25 views

How to Handle Browser Login Response into Android Studio Application

I am using WebView with xyz URL. submit credentials (username, password) for login the page and go to dashboard. getting Particular response. My question is how to get that response on my android ...
Parveen Haade's user avatar
0 votes
0 answers
16 views

Change UI with change in WebView URL

I want to change a navigation bar selection based on the URL I receive. But I'm not able to use data binding inside the code. I'm using this inside an Activity. How do I change UI here? private class ...
Abshar Faiz M's user avatar
1 vote
0 answers
44 views

Loading a html page inside a webview which contains a webview element

I have an android app which has a webview element in its main activity loading an url. Url is pointing to a html web page consisting of a webview element. The html code that has to be parsed is ...
thevueeguy's user avatar
0 votes
0 answers
16 views

unabl to downlaod attachment inside webview expo its loading nothing downloads in mobile

enter image description hereI am the developer of React Native Expo WebView. I have tried a lot to download an attachment from the target website in WebView. If I run it in Chrome on my mobile, then ...
Badar Madni's user avatar
0 votes
0 answers
43 views

High crash rate due to Android web view's SIGTRAP crashes

We are experiencing a lot of crashes (2% crash rate because of them) that look like this: As far as I know, they are impossible to catch because they happen deep inside the internals. Right now the ...
qwertyFanatic's user avatar
-1 votes
0 answers
15 views

How to change WebView font family in compose kotlin?

I'm getting html string from the service and I show them using Android WebView. I decided to add some style to my html string and I read on the internet that it can be done by adding css. I added some ...
NewPartizal's user avatar
0 votes
0 answers
31 views

Unable to locate the element inside the webview Appium

I'm currently working on automating a hybrid app using Appium WebDriverIO. My script successfully switches to the webview context without any issues. However, I'm facing a problem when trying to ...
Saisrijan Gupta's user avatar
0 votes
0 answers
22 views

How to change text color of webview in kotlin compose?

I need to take the html string from the service and print it to the screen and I wrote a code like this val htmlString = state.response?.data?.content ?: "" val color =...
NewPartizal's user avatar
0 votes
0 answers
13 views

Android WebView make fit to the screen and show loader

In my case of loading the URL of web view, I need the view to be fixed and also not scroll as above this webview i used to hold another view on top to perform some marker(Like freehand sketching) ...
arun's user avatar
  • 115
0 votes
0 answers
32 views

Java ServerSocket accept call missing or queuing connections?

I have a simple Java server socket hosted on localhost. It has a while loop that kicks off connection threads that handle various data processing functions. The server socket is being used within a ...
Mike Schmidt's user avatar
0 votes
0 answers
29 views

Android webview issue whilst playing cached video (Codec?)

We are trying to play a video in android WebView, but are unable to play it. In the logcat we find warnings and errors about missing or unsupported mime profiles/codecs. The video stutters every once ...
Boas Van Voorst's user avatar
0 votes
0 answers
56 views

Jetpack Compose: Show Icon animation after Webview loaded

As in the headline stated I try to implement an example app for learning purposes which basically is supposed to be a single Webview. I want to achieve the following starting routine for my app: When ...
Sehra's user avatar
  • 1
0 votes
0 answers
41 views

Streaming Netflix in an Android WebView

I am trying to make an Android app that will play Netflix in a WebView so that I can mimic the functionality of a Chrome extension. Apparently Netflix doesn't allow streaming on mobile browsers which ...
user15134436's user avatar
0 votes
0 answers
38 views

Notification API support in android webview

I'm unable load particular url in my webview and getting blank white screen. When I load same url in chrome and chromium, url is loading properly and web notification is displaying like below ...
Srikanth's user avatar
  • 1,555
1 vote
1 answer
486 views

Cannot find symbol method "setAppCacheEnabled(boolean) - Ionic capacitor application

I am working on an ionic/angular application with Capacitor. I got an email from Google, and then we had to upgrade the Android SDK version to 33 from 32. When I upgraded the compileSdkVersion I got ...
sanjeewa priyanath's user avatar
0 votes
1 answer
42 views

Android Java Webview: The webview screenshot function works on all content, but when it comes to videos, it will take a blank screenshot

In my Android Java app, I'm trying to take a screenshot on WebView and send the image to the API for proof functionality. The current function works with all contents loaded to webview, but when it ...
Vimukthi Shohan Jayawardana's user avatar
0 votes
0 answers
33 views

Click on website not working in WebView Android

Hello I am trying to add this website (https://19.avchats.net/) into webView of android But the problem is Website have some buttons in it and one of them is used to join conference call. it need the ...
Ehsan Abid's user avatar
0 votes
0 answers
32 views

How to open pdf from url in webview that's not ends with ".pdf"?

I searched how to open pdf document in webview. I can open any url that ends withs '.pdf' but I need open a url that's not ends with '.pdf'. I can not solve this. @SuppressLint("...
Ahmet Yılmaz's user avatar
0 votes
0 answers
21 views

flutter: stop the continuous update of the auth variable coming from a firebase provider

When I call the webview with this variable auth.usuario?.uid, the web page keeps updating every 3 clicks on it, which doesn't happen when I don't use this variable, but I need to indicate the user id ...
José Carlos's user avatar
0 votes
1 answer
44 views

Unable to open the default file picker for using Xamarin and Webview to Android App

I am currently using the Xamarin to build a cross-platform mobile application. Basically my app only using the webview(The webview only opens a website that has a upload image function), for some ...
Tim's user avatar
  • 33
0 votes
1 answer
124 views

getUserMedia is failing with "Permission Denied" in Android WebView

I've been working on a web application which uses WebRTC to perform video calls. So, before a user start a video call, we invoke getUserMedia method to ask the user for permission to use the media ...
Hitesh Misro's user avatar
  • 3,361
0 votes
1 answer
62 views

Handling Authentication Flow via Custom Tabs with Flutter: Non-Chrome Browser Support

I'm currently working on a Flutter app that requires third-party authentication, and the authentication flow needs to be completed in a browser. Previously, I used a WebView to achieve this, but the ...
Malou's user avatar
  • 26
1 vote
0 answers
69 views

How to Specify version of WebView Implementation to be used in Android App? Is there a way to package a version of "Android System WebView" in APK

We have an Android Application built in React Native platform which loads a Web URL into a WebView. It imports the WebView component from the react-native-webview package. During runtime, we see that ...
mrchidam's user avatar
  • 194
0 votes
0 answers
16 views

Stop re-rendering previous page on Android Webview

I'm working on an Android WebView application, and I'm looking for a way to disable the automatic re-rendering of the previous page when the user navigates back within the WebView. Here are the ...
Petrica Gica's user avatar
1 vote
0 answers
37 views

Android WebView GeoLocation Issue

I am trying to make an app which will give me the precise location of a person. Now all of the html and PHP work was done to make it work on a browser, which it is. The Website Response Now when I try ...
shrey bassi's user avatar
0 votes
0 answers
40 views

Android webview copy link issue

I'm loading webview into my android app, there is option in webview is copy link option, which is working fine desktop chrome browser and mobile chrome browser. The problem is copy link not working in ...
usedevan's user avatar
0 votes
0 answers
25 views

When onRenderProcessUnresponsive is called?

I'm wondering when the WebViewRenderProcessClient.onRenderProcessUnresponsive() method is triggered in the app using Android Webview and how to test it. When I let my website hang by JS like while(...
Alexey Ozerov's user avatar
0 votes
0 answers
22 views

Input inside Android WebView with randomly focus

I'm fighting with a problem on Android WebView.. I have a WebPage that is kinda a form, with 8 inputs and a button, and I load this page on a WebView on my mobile app For iOS it works perfectly For ...
Janba's user avatar
  • 3
0 votes
0 answers
22 views

File Picker not working, also camera not opening in webview

@Override protected void onActivityResult(int requestCode, int resultCode, Intent intent) { super.onActivityResult(requestCode, resultCode, intent); if (Build.VERSION.SDK_INT >= 30) { ...
Saqib Nisar's user avatar
2 votes
0 answers
30 views

post request only returns "hash" and WebView returns "null"

I tried to parse one site but one request only returns me "hash". My request: (you may need a vpn to send requests) manga.in.ua/engine/ajax/controller.php?mod=load_chapters&action=show&...
Madman's user avatar
  • 53
0 votes
0 answers
44 views

Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference , while using evaluateJavascript

im trying to get some string return from a webview evalueteJavascript value idk what is wron here it was perfectly working till yesterday , i had made no changes to this code , but dont know why its ...
Vasant Raval's user avatar
0 votes
0 answers
48 views

Facebook page can't open in webview

If I try to load a facebook profile in a webview, I'm getting an error if I use a WebViewClient to display it inside the internal webview and not on an external browser: webView=new WebView(ctx); ...
NullPointerException's user avatar
0 votes
1 answer
46 views

How to increase the default timeout on Webview to load URL in Android?

I'm currently loading the URL in webview and everything works perfect. However, in poor network condition I'm getting Err: Timedout on webview with in 10 seconds. I would like to increase this time ...
Narendar 's user avatar
0 votes
0 answers
9 views

How can I get filename in tag <a download="123.xls">

I can use URLUtil.guessFileName(url, contentDisposition, mimetype) to get filename, but how about this case? <a herf="xxx" download="123.xls">Download file<a> I want ...
KR LHY's user avatar
  • 1
0 votes
1 answer
31 views

Microsoft Teams Custom App shows blank screen on Android mobile phones

I'm running the custom tab on Microsoft Teams app. It correctly works on Desktop (client and browser) and iPhone client, but it doesn't work on the Android mobile MS Teams app. Web page with the app ...
pawg's user avatar
  • 11
1 vote
1 answer
174 views

NullPointer Exception on BitMap.getwidth() at chromium-TrichromeWebViewGoogle.aab

I was getting below crash in Android Webview. I tried to load the webview for the functionality within the app and got this crash. Please advise on it. It's crashing on Android 13 (Samsung S21). Note: ...
Dev's user avatar
  • 119
0 votes
0 answers
26 views

Reading data from a webview in adroid and storing the data in kotlin array

I am trying to create an app that takes user selections from some HTML drop downs (select tags) and stores them in the android app. I am trying to do this so I can create a autofill of sorts where ...
James_B's user avatar
  • 147
0 votes
0 answers
25 views

Webview upload file from camera don't work

i have app that load website in webview where have login form and after login user can to send photos from this html form. After select inupt="file" can select from storage or make photo. In ...
Petar Kolev's user avatar
0 votes
0 answers
49 views

How can I use Android webview in system app

I want use a WebView in my app which has a system sign. But when I load the web page, it stopped at 10% progress.But if I removed android:sharedUserId="android.uid.system it can load as normal. ...
user16787209's user avatar
0 votes
0 answers
29 views

How to auto update webview flutter/dart

Please, how do I update the WebView (refresh or reload ) automatically when changing data in Firebase without the user needing to press the refresh button? It would be a digital picture frame that ...
Junior's user avatar
  • 1
0 votes
0 answers
95 views

Download Image from Webview with blob:URLS in kotlin android

I have tried Download Blob file from Website inside Android WebViewClient and similar others. But not worked. Getting error in console like "Not allowed to load local resource: blob:https:" ...
CodeWithVikas's user avatar
0 votes
0 answers
42 views

Playing a video using the IFrame API on a ARMv7-based Android device, causes high quality videos to lag and show green artifacts on the video

The code below shows a simple Android app that utilizes the Youtube IFrame API to play a specific video link. class MainActivity : AppCompatActivity() { override fun onCreate(...
Maxim Rahlis's user avatar
0 votes
0 answers
22 views

Whatsapp web in webview by using Jsoup

Unable to load Whatsapp web URL using android Jsoup library and here I am using this code. webView = findViewById(R.id.webview); WebSettings webSettings = webView.getSettings(); ...
Malik Farooq's user avatar
0 votes
1 answer
117 views

how can i fix this error in my Webview Android Project

i have a problem, that when i start the app then comes an error: net::ERR_CACHE_MISS i want an android app that implements a WebView so i am able to have my website on my app. Can someone please help ...
snoopti's user avatar
  • 11
4 votes
1 answer
190 views

Unresponsive webviews initially outside of viewport in SingleChildScrollView on real android devices w/ Android 12+

I am trying to display articles with rather long text and several iframes in them inside a SingleChildScrollView. I use flutter_html to display the content. main.dart: import 'package:flutter/material....
3nws's user avatar
  • 1,391

1
2 3 4 5
150