All Questions
2,014 questions
0
votes
0
answers
31
views
SwipeRefreshLayout with Webview + nested scrolling
I'm trying to use SwipeRefreshLayout with WebView.
I'm facing the problem where in the middle of page, when user scrolls down, unwanted refresh kicks in.
Also when there are nested scrolling and ...
2
votes
1
answer
51
views
Android-Java-Webview-Javascript: I am not able to see source codes of some sites like instagram?
When I try to read source code of for example example.com, it works. But as I try to use it for example for instagram.com it does not work anymore and app falls. Can I ask where is the difference and ...
0
votes
0
answers
52
views
How do I get memory extensive JavaScript to work on HTML canvas via Android Studio Webview?
I am trying to make an Android App, I'm a baby developer I won't lie, but it's based on astrology calculations. However my canvas will load when I comment out astrology.js but breaks because of this ...
1
vote
0
answers
84
views
Android 4.4.4 (KitKat) webview videos is not working
I have an old TV running Android 4.4.4, and I created a simple app using WebView to render YouTube specifically for the TV. The app loads the YouTube TV page (https://www.youtube.com/tv) fine, but ...
0
votes
0
answers
34
views
New Flutter User - Unable to Import Webview
I've created a new project in Android Studio. Running it in the emulator does whats expected - the default program of clicking a button and watching a counter go up.
I'm trying to teach myself how to ...
1
vote
0
answers
66
views
webview.getHeight() inside of onPageFinished(WebView view, String url) not working
I need to get webview height of each one of these webviews
<ScrollView
android:id="@+id/scrText"
android:layout_width="match_parent"
...
1
vote
0
answers
34
views
Is it possible to set unsafely-treat-insecure-origin-as-secure in a `data:text/html` WebView
I generate a WebView as follows:
val encodedHtml = generateEncodedHtml()
webView.loadData(encodedHtml, "text/html", "base64")
}
private fun ...
0
votes
0
answers
35
views
Loss GPS EXIF Data for upload image via android app (WebChromeClient)
So, we build some android app (Android 10+) for website. And we have function to create item profile that base on GPS data of EXIF Image of during uploading image. On our app we use WebChromeClient ...
0
votes
0
answers
29
views
How can I get the Current Page is Last Page event in Webview in Kotlin?
I am loading Pdf file from URL into web view with this
val doc = "<iframe src='http://docs.google.com/viewer?url=${pdfFile}&embedded=true' width='100%' height='100%' style='border: none;'&...
0
votes
0
answers
34
views
WEBVIEW android app cannot download file via server
package com.example.mywebsite;
import android.Manifest;
import android.app.DownloadManager;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import ...
0
votes
0
answers
79
views
java.lang.RuntimeException: Error inflating WebView on Android 8
I'm encountering a crash in my Android application when attempting to inflate a WebView in a fragment. My device is HUAWEI Y6 Prime 2018 .Here's the stack trace:
java.lang.RuntimeException: android....
0
votes
1
answer
247
views
Web Speech API and WebView compatibility
I have a website that uses the SpeechSynthesis from the Web Speech API. Now, I need to migrate this site to Android, but the Android WebView doesn't support SpeechSynthesis, while Chrome on Android ...
-1
votes
1
answer
22
views
onBackPress can't load previous page on webView if use to load by postUrl()
i am trying to create an webView based android app.and can go back to the previous page by onBackPress. it is perfectly working when i using webview.loadUrl("url") as GET method. but wehen i ...
0
votes
1
answer
22
views
Can't open file dialog again after canceling in webview
Opening the dial works and uploading works. However if I cancel/back out of the dialog it won't open again and the page seems to lock up. I only use Android studio about twice a year so I'm not really ...
1
vote
1
answer
63
views
Run Android applications that run WebView independently of browsers
I am working on creating Android applications written in Java that run WebView for the front end completely and the backend using Java. After a while, I found a problem when I open one of these ...