crosswalk

Is there a XWalkView webviewclient?

穿精又带淫゛_ 提交于 2019-12-08 19:36:37
问题 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 ( onLoadResource ). How can I do this with XWalkView ? I embed the XWalkView using this tutorial embed crosswalk in android studio 回答1: Cross Walk API introduces its own names for every component. Not only the WebView is renamed to XWalkView ,

How to integrate with crosswalk lite with ionic

ぃ、小莉子 提交于 2019-12-08 16:27:29
I am searching for crosswalk and it;s still making the apk above 20 mb... Is there any workout to make it smaller ? If you already have Crosswalk plugin uninstall it with Cordova CLI : cordova plugin rm cordova-plugin-crosswalk-webview And then install Crosswalk in Lite mode : cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_MODE="lite" APK size before : 27.9 MB, after: 15.5 MB cf. https://crosswalk-project.org/jira/browse/XWALK-5189 As far as I know the problem is with Chromium. The code is not modular, so the Crosswalk team can't separate specyfic features. So the answer

NDK integration is deprecated in the current plugin

孤街醉人 提交于 2019-12-08 06:07:40
问题 I am using Ionic and I never had this problem before I added Crosswalk Web View. I also don't have a problem when I use cordova android@4.1. This error is occuring with cordova android@5.1.1 with all versions of crosswalk. Android Studio v2.1 Gradle Version v2.2.1 Android Plugin Version v1.5.0 I am getting this error in Android Studio when I try to sync my gradle. I am using lastest revision of sdk-23 and ndk tools. NDK integration is deprecated in the current plugin Error:(186, 0) Consider

How to integrate with crosswalk lite with ionic

旧城冷巷雨未停 提交于 2019-12-08 05:35:51
问题 I am searching for crosswalk and it;s still making the apk above 20 mb... Is there any workout to make it smaller ? 回答1: If you already have Crosswalk plugin uninstall it with Cordova CLI : cordova plugin rm cordova-plugin-crosswalk-webview And then install Crosswalk in Lite mode : cordova plugin add cordova-plugin-crosswalk-webview --variable XWALK_MODE="lite" APK size before : 27.9 MB, after: 15.5 MB cf. https://crosswalk-project.org/jira/browse/XWALK-5189 回答2: As far as I know the problem

Android 抛弃原生WebView,使用腾讯X5内核、并加入广告拦截。

你。 提交于 2019-12-08 00:58:03
大家都不知道原生的WebView 存在各种坑。各种适配问题。 最近在使用,总会出现DNS被拦截的情况。预览了各个大神的论坛与博客。 发现可以更改WebView内核。找到了比较火的两个。 分别是:腾讯X5内核 和 crosswalk crosswalk : 据说很强大,但缺点就是会让你的APK包增大很多。(我还没试过,都是看大神们的博客说的) 大家可以参考这篇文章 如何轻松搞定Crosswalk之嵌入模式 相对crosswalk呢,腾讯X5 比较适合我目前的项目。至少包不会一下子给我 增大那么多 TBS腾讯浏览服务 (点击跳转官网) 腾讯X5的好处我就不再说了,官网解释的肯定比我到位,我怎么做的吧。 第一步:那肯定是下载官方的SDK 包啦( 腾讯浏览服务-SDK下载 ) 我这里下载的是上面这个 第二步:根据SDK 提供的jar包和so 包拷贝到自己的项目下。 (注意:我这里和官方提供的so,放的位置可能有点区别,这个就需要看的项目情况了) 注意:x5暂时不提供64位so文件,为了保证64位手机能正常加载x5内核,请参照如下链接修改相关配置 https://x5.tencent.com/tbs/technical.html#/detail/sdk/1/34cf1488-7dc2-41ca-a77f-0014112bcab7 官方的Demo ,so包是放在 src\main

Google warns developer to include 64-bit version for Android app

烈酒焚心 提交于 2019-12-07 07:05:26
问题 Google is warning developers that starting Aug 1, 2019, all apps must be 64-bit. I use Cordova to build our web app into an Android app and upload the generated 32-bit APK file into google play store The Cordova crosswalk plugin allow me to build both 32-bit and 64-bit versions using the commands cordova build android --release and cordova build android --release --xwalk64bit respectively. I used the same android version code for both the APKs when build Questions: Earlier I used to upload

Android project with Unity JNI libraries crash after Crosswalk was added

百般思念 提交于 2019-12-06 16:18:06
I have android app where I embed game that I make in Unity 3D. Other part of app is written in Cordova/Ionic and I need to use Crosswalk to support older android phones. But when I add Crosswalk to my project, app crashes right after start with following output: W/chromium: [WARNING:xwalk_external_extension.cc(58)] Error loading extension '/data/app/com.example.app-2/lib/arm/libmono.so': couldn't get XW_Initialize function. W/chromium: [WARNING:xwalk_extension_server.cc(407)] Failed to initialize extension: /data/app/com.example.app-2/lib/arm/libmono.so W/chromium: [WARNING:xwalk_external

android webview

倾然丶 夕夏残阳落幕 提交于 2019-12-05 22:36:56
webview 三大类: 原生webview x5内核 crosswalk crosswalk 强大,但是会增加apk包增大很多 腾讯x5内核,速度快、省流量、安全、稳定、兼容好、体验好、功能全、视频和文件格式支持x5多于系统内核、防劫持 来源: https://www.cnblogs.com/bibizhou/p/11948882.html

Google warns developer to include 64-bit version for Android app

耗尽温柔 提交于 2019-12-05 12:24:08
Google is warning developers that starting Aug 1, 2019, all apps must be 64-bit. I use Cordova to build our web app into an Android app and upload the generated 32-bit APK file into google play store The Cordova crosswalk plugin allow me to build both 32-bit and 64-bit versions using the commands cordova build android --release and cordova build android --release --xwalk64bit respectively. I used the same android version code for both the APKs when build Questions: Earlier I used to upload only the 32-bit version into the play store(Production Track). Right now, Since I have both 32-bit and 64

Ionic 3 project and plugin crosswalk error

徘徊边缘 提交于 2019-12-03 15:54:14
问题 I have a Ionic 3 project, when I run "ionic cordova run android --prod" I see This error: ANDROID_HOME=C:\Users\asus\AppData\Local\Android\sdk\ JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131\ Subproject Path: CordovaLib null The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_86b8k75dm7qqz7n5jyg9xp8kh.run(D:\project\ionic\MyProject\platforms\android\build.gradle:138) org.xwalk:xwalk_core_library:23