crosswalk-runtime

Crosswalk - Inflating class & Cie

为君一笑 提交于 2019-12-22 01:03:40
问题 I'm currently working with Crosswalk ( previously on Cordova ). But I encounter a problem : when i'm creating just a simple XWalkView, nothing works.. I mean, I followed all guides, try multiples ways and nothing . I'm working with CrossWalk 12.41.296.9 ARM. That way: public class MainActivity extends Activity { private static final String url = "file:///android_asset/www/index.html"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Can't add crosswalk with ionic cli 1.3.2

南楼画角 提交于 2019-12-21 14:05:15
问题 I cloned an existing ionic project from git. I have ionic 1.3.2 and cordova 4.2.0 . After cloning, i cd ed into the directory and did an ionic browser add crosswalk . It says that crosswalk was added successfully. Then when i try to do ionic run android , it says No platforms added. So i do a ioinic platform add android , which gives me this error: Failed to install 'org.apache.cordova.engine.crosswalk':CordovaError: Plugin doesn't support this project's cordova-android version. cordova

Chrome's Data-Saver feature enabled in Crosswalk WebView?

六月ゝ 毕业季﹏ 提交于 2019-12-20 17:41:36
问题 In Chrome version 45.0.2454.85 the Developer Tools show a yellow warning at the top of the window with the text: "Consider disabling Chrome Data Saver when debugging" whenever I connect to my Cordova/Crosswalk app on my phone. Is Data Saver enabled in the Crosswalk plugin (version 1.2, WebView version 44.0.2403.117)? If so, can I turn it off? 来源: https://stackoverflow.com/questions/32564004/chromes-data-saver-feature-enabled-in-crosswalk-webview

Crosswalk call Java method from JavaScript

偶尔善良 提交于 2019-12-19 09:27:55
问题 I'm using crosswalk now. I need to call a Java method when a user clicks a button in the HTML, which may look like: <a href="#" onclick="callJava()">Start</a> I'm not sure if Crosswalk extension is what I wanted, which seems to be so heavy-weighted just for calling a Java function. Is there a simpler way to do this? Or should I use Cordova with Crosswalk in this case? 回答1: If you are only using XWalkView as an embedded view, the addJavascriptInterface is sufficient to inject Java object into

Android Crosswalk Lite - Android Studio integration

不羁的心 提交于 2019-12-18 07:44:47
问题 I have successfully implemented crosswalk webview project inside an Android studio project. Basically by following this link: https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/ People familiar with implementing crosswalk know that the app size gets increased by +- 20-30 mb. For this reason i have been trying to integrate the lite version of crosswalk. Which is +- 10 mb, Unfortunaly without success. the normal crosswalk project has a maven version available at https://download

Unit testing with Crosswalk and Robolectric

前提是你 提交于 2019-12-13 01:42:46
问题 We have unit tests running against our app, based on Robolectric. Some of these tests check against activities that contain WebViews. Now we decided to use Crosswalk and, therefore, replace WebView with XWalkView in our layout XML files. But since then, the unit tests fail to run because Robolectric apparently doesn't support XWalkView s yet. We tried writing a shadow for XWalkView, but Robolectric still calls the real implementation when inflating the content view. Other shadows (e.g. a

HTML5: Video and canvas drawImage() function on Android and Crosswalk

一曲冷凌霜 提交于 2019-12-12 17:38:23
问题 I'm trying to draw a video frame on canvas. It works well on desktops, but there are issues on Chrome on Android devices. Please see the example: http://buildar.com/static/drawimage/minimal.html I've tested it on various Android devices and the only that's working on is Android 5 with Crosswalk (Cordova app). After removing the Crosswalk or trying on other Android version, the drawImage function doesn't work. I've found several related Chromium bug reports, but according to them, the issue

What is a difference between intel xdk, appmobi, and crosswalk?

落爺英雄遲暮 提交于 2019-12-12 07:45:21
问题 As far as I know they are all from intel, do the same thing, and yet do not mention each other at all. So can someone clear some confusion, what and how they are different. I understand they are for making mobile apps, I checked out appmobi it wasn't much better for any interactive app than phonegap. Other than that I don't know what crosswalk is (maybe it's like cooconjs but with browser in it and asmjs support?). what is intel xdk..this is the most mysterious..is it same as crosswalk? Or

How to disable long-click which opens the Android top menu bar with copy/paste/etc. buttons in Cordova Crosswalk apps?

此生再无相见时 提交于 2019-12-12 02:53:11
问题 As the title says, I have a Cordova application which has the Cordova Crosswalk plugin installed and runs on Android and iOS. Specifically on Android, and at least on versions Android 5.1.1 and 4.4.4 (and likely on all of them due to Crosswalk), whenever I long-press on an input field, my WebView shrinks in height and shows a weirdly-styled top bar with cut/copy/paste/clipboard buttons, and a "back" button which closes the top bar: How do I prevent this long-click? I have tried adding an

Touch events and intersections with crosswalk / three.js on Android 4.0.4 device

烂漫一生 提交于 2019-12-12 01:58:07
问题 I have a crosswalk WebGL_Sample based app that behave correctly on all XDK emulators (I am not using XDK, just testing the EMU's) when I try to touch / intersect a Cube with Three.js's "raycaster.intersectObjects". The problem is that if I shoot it on a real LGP920 running ICS, touch-sliding events are working (like for the sample's sliding cube) but touch-clicking are not whereas, again, everything works fine on EMU's... Any clue about what is happening ? here is what I use (the array