Questions tagged [xwalkview]

XWalkView represents an Android view for web apps/pages. it internally uses android.view.SurfaceView for rendering web pages by default, it can't be resized, rotated, transformed and animated due to the limitations of SurfaceView.

27 questions
6
votes
1 answer

Crosswalk XWalkView : Request was denied for Security (Android 7.0 and greater)

I am using Crosswalk XWalkView as my application's webview, now I am loading some website that has valid certificate and works fine in Android versions < 7. But with Android 7.0 and greater I get this toast message REQUEST WAS DENIED FOR…
Aaron
  • 2,591
  • 4
  • 27
  • 45
6
votes
3 answers

Is there a XWalkView webviewclient?

I'm trying to use XWalkView as webview replacement in my android app. I noticed that there's no setWebViewClient method on XWalkView object. The thing is that I want to check when the page is finished (onPageFinished) and when the resource is loaded…
Oscar Yuandinata
  • 1,025
  • 1
  • 13
  • 31
4
votes
4 answers

Error - Please have your activity extend XWalkActivity for shared mode

I am getting the error Exception junit.framework.AssertionFailedError: Please have your activity extend XWalkActivity for shared mode in android crash reports. I have not been able to get this crash on testing. I have only used XWalkView in my…
glo
  • 1,408
  • 3
  • 25
  • 54
3
votes
1 answer

Is it possible to expose a WebGL context from Blink?

I would like to do the same thing than https://www.mapbox.com/blog/mapbox-unity/ but with three.js in a XWalk view. In short, as I understand it, the mapbox plugin is a controller which has access to the OpenGL context of a Mapbox view and to the…
dagatsoin
  • 2,626
  • 6
  • 25
  • 54
3
votes
2 answers

Textbox hidden below keyboard in Android XWalkView or WebView

Edit: this also adjust to webview! I use XWalkView of corsswalk in my android app. In the XWalkView there are many inputs in it. When I input something for the input at the bottom , the soft keyboard covers it. I use…
LF00
  • 27,015
  • 29
  • 156
  • 295
3
votes
3 answers

Catch "page finished loading" event and do something in ionic/cordova MainActivity.java with xwalk webview

I have a android app that has built using ionic and i have used xwalk web-view in it. I need to catch page finished loading event inside my MainActivity.java which extends the CordovaActivity class and then perform some action. How i can do this.
HarshaXsoad
  • 776
  • 9
  • 30
2
votes
0 answers

Fatal signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xc654f6c6 in tid 11821 (Chrome_InProcRe), pid 11615 (com.OffZone) in android xwalk webview

i am using crosswalk webview to load urls in my app but after 3 or 4 seconds app crashes with given below error. I tried many to solve this error but any solution didn't work for me. --------- beginning of crash 2021-05-05 13:47:35.210…
Pratik PSB
  • 177
  • 1
  • 18
2
votes
1 answer

WKWebView zooming not working properly

I am using XWalkView which is a subclass of WKWebView, added as a subview to a container view programmatically. I am trying to zoom the content page of the WKWebView but it does not zoom first time. The WKWebView zooms the content page subsequently,…
Osama Mohammed Shaikh
  • 1,219
  • 1
  • 16
  • 40
2
votes
3 answers

Android layout collapse

I use a XWalkView to load webpage and a IjkVideoView to play live video in my app. I want the IjkVideoView playing the video in front the XwalkView, so I put these two view in a relativelayout and IijVideoView behind the XWalkView. In the android…
LF00
  • 27,015
  • 29
  • 156
  • 295
2
votes
0 answers

XWalkView initialize view asnyc in Android

I'm using XwalkView as WebView in my Android App. It's nested in a fragment and every time when I open the fragment it needs 2-3 Seconds until the fragment is displayed. Before that the app freezes. So I would like to show a loading indicator while…
Fintasys
  • 1,309
  • 1
  • 9
  • 16
2
votes
2 answers

How to use back button to go back with XWalkView of CrossWalk, or disable it?

I use below code to go back in webview at first try. But for the low render ability, I used XWalkView replace the WebView. public boolean onKeyDown(int keyCode, KeyEvent event) { WebView mWebView = (WebView) findViewById(R.id.webview); if…
LF00
  • 27,015
  • 29
  • 156
  • 295
1
vote
2 answers

Webview android couldn't load HTML5

My Android app is upgrade to API 29, so we need to change from Xwalkcorelibrary to WebView, when run app can show HTML5 but the content of this page is not show. When use WebView: setContentView(R.layout.bookshelf_view); mWebView =…
Le Minh
  • 135
  • 1
  • 1
  • 12
1
vote
0 answers

Error inflating class org.xwalk.core.XWalkView after changing sqlcipher version

The android app I am working on is a Cordova one. I am getting the following error when I start the app. https://pastebin.com/jzX9AqEX Here is my MainActivity public class MainActivity extends CordovaActivity { @Override public void…
1
vote
0 answers

How can I open a web PDF file in a Xwalkview based kiosk browser with an explicit App with url white-list?

I try to open web PDFs in a Xwalkview with another App but the file will just be downloaded. Use case is a WebApp for Kiosk-Devices to show intranet content (HTML & PDF) with URL white-list. Here is my code: public class MainActivity extends…
Thomas Jay
  • 11
  • 3
1
vote
0 answers

XWalkView, onCreateWindowRequested is not working

onCreateWindowRequested is not working for my code... I don't know why.... I searched google, and I trying to my best,.. but I couldn't solve this problem... This code is final code to written me. What's the problem this code ? please, give me the…
은아월
  • 11
  • 1
1
2