Use for questions about using GeckoView, an open-source library that allows you to render web content on Android using the Gecko web engine. Created and maintained by Mozilla and the community open source community. More info https://geckoview.dev/
Questions tagged [geckoview]
71 questions
0
votes
0 answers
What GeckoView build should you use on Android?
I am currently browsing the Mozilla maven GeckoView directory for Android.
I have to admit, I am quite overwhelmed by the sheer variety of what I can choose…

AlanSTACK
- 5,525
- 3
- 40
- 99
0
votes
0 answers
Firefox / GeckoView Gamepad API not functional?
The Gamepad API isn't working in the official firefox app and in a GeckoView (v 107.0.xxx) on Android.
To Reproduce: Open the test gamepad API site: https://luser.github.io/gamepadtest/
On chrome, it shows a connected gamepad. On firefox, it does…

alexward1230
- 579
- 3
- 8
- 25
0
votes
0 answers
Does GeckoView/Firefox WebRTC Support AV1/H264 codecs on Android?
Trying to get WebRTC to work on an Andoid device using GeckoView. I need AV1 and/or H264 codecs, however, on the webpage calling:
new RTCPeerConnection().createOffer({offerToReceiveVideo: true}).then(s => console.log(s.sdp))
Only shows the VP8 and…

alexward1230
- 579
- 3
- 8
- 25
0
votes
2 answers
Select dropdown in Geckoview
Im trying out GeckoView on Android studio, using Kotlin
Everything works fine, except trying to click on select dropdown menus.
I believe I have to implement the GeckoSession1.PromptDelegate, but I struggle to find some working kotlin code to…

Jon Magnar Nesvik
- 31
- 2
0
votes
1 answer
How can I save & restore GeckoView's session state?
I would like to keep the session active between orientation changes. Geckoview's documentation is lacking a bit in this area. It seems GeckoSession has a restoreState method that accepts a SessionState. Is there a way to create the SessionState…

D.H.
- 186
- 14
0
votes
1 answer
Load WebExtensions on GeckoView
I'm working with GeckoView and met problem with installing AddOns. As suggested on Documentation, I've provided XPI compatible with Android, but nothing changes. Copying file to Assets doesn't make a change. Browser doesn't acknowledge…

KwarcPL
- 67
- 7
0
votes
1 answer
Geckoview on Android
I'm trying to get Geckoview setup in my android app. I am following the tutorial here but I get an error that it doesn't exist. Is anyone familar with Geckoview who can help me out? Did it move or something?
Here is the error I get
Could not…

alexward1230
- 579
- 3
- 8
- 25
0
votes
0 answers
How can I install a webextension in GeckoView
I want to install a Firefox extension in a GeckoView
I tried the instruction from the docu ().
My code:
val runtime =…

JoRow
- 1
- 3
0
votes
1 answer
Integrate .SWF file(flash game) in Android Native(java)
I want to play flash format game(with .swf extension) in my native android app. I tried this using Android webView and geckoview but I didn't find any success.
Is there any android library available for playing flash games that I can use to solve my…

cloudxvicky
- 41
- 6
0
votes
1 answer
How can i setup Notification Bar Music Control widget in Geckoview Android
How can I setup music player widget in notification bar on Geckoview Android.
It is possible on chrome browser through Media Session Api
Below is the image from chrome browser android.
How can I achieve similar music control widget on Geckoview?
user9615788
0
votes
1 answer
How can i use canGoBack() on GeckoView
Below is the code for android Webview
public void onBackPressed() {
if (webView.canGoBack()) {
webView.goBack();
} else {
super.onBackPressed();
}
}
How can i use similar code in Geckoview or how can i achieve similar…
user9615788
0
votes
1 answer
How to load a URL with POST data into GeckoView
How do you load a URL with post data using the "POST" method into GeckoView? On the Android WebView I can do this:
view.postUrl(url, postParams.getBytes())
I have tried this with GeckoView but it doesn't work:
session.load(new…

Daniel Wilson
- 18,838
- 12
- 85
- 135
0
votes
2 answers
Could not get unknown propert for object of type gradle build android studio
In my android studio project i have gradle.build file that looks exactly like
buildscript {
ext.kotlin_version = "1.3.72"
repositories {
google()
jcenter()
maven {
url "https://maven.mozilla.org/maven2/"
…

Dev-il
- 157
- 1
- 8
0
votes
1 answer
java.lang.ClassNotFoundException when trying to make a browser with GeckoView
Im very novice at java programming. Running into an error message while trying to make a browser using locally stored GECKOVIEW library. The build does complete but the app crashes. Help would be greatly appreciated because i'm very stuck and it's…
user13402090
0
votes
2 answers
Allow Cross-Origin-Request in GeckoView for Android
I build an media control webapp to control my tv and av-receiver with one single app by using the web APIs of the devices.
Currently I call a PHP script by an ajax request and the PHP script do the API call by using curl. So I have no problems with…