crosswalk-runtime

Ionic app shows white screen on android 4 versions

核能气质少年 提交于 2020-02-22 23:14:37
问题 I am developing ionic application which works fine in browser as well in android 5 versions but when i try to install my same apk in andriod 4 versions it simply displays white screen doesnt show up anything. i had tried installing crosswalk, whitelist and splash screen plugins after installing all plugins i am unable to build. i am attaching the screenshots of installed plugins and build error please help where i am going wrong. Please find the image where i installed the plugins Also,

My app not able to find a crosswalk dependency and R file

删除回忆录丶 提交于 2020-01-06 06:10:36
问题 I have followed this link https://crosswalk-project.org/documentation/android/embedding_crosswalk_rvw.html to embed crosswalk in my android project.When I try to install,my app is crashing with below er java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string; I've double-checked the dependencies from the gradle file. Any idea? 回答1: I have imported .jar crosstalk file as module project in my app.after that I have tried with .aar file(xwalk_core_library-23.53.589.4.aar)

My app not able to find a crosswalk dependency and R file

♀尐吖头ヾ 提交于 2020-01-06 06:10:21
问题 I have followed this link https://crosswalk-project.org/documentation/android/embedding_crosswalk_rvw.html to embed crosswalk in my android project.When I try to install,my app is crashing with below er java.lang.NoClassDefFoundError: Failed resolution of: Lorg/xwalk/core/R$string; I've double-checked the dependencies from the gradle file. Any idea? 回答1: I have imported .jar crosstalk file as module project in my app.after that I have tried with .aar file(xwalk_core_library-23.53.589.4.aar)

How can I capture the whole view into a Bitmap when using crosswalk to display webpage?

天大地大妈咪最大 提交于 2020-01-03 07:14:09
问题 I use CrossWalk to display webpage, it works well. I have a feature to capture the whole content as bitmap to save into SDCard, but I cannot found a solution. Using TextureView can only capture a screen size bitmap, anyone has the same issue? BTW, I can capture the whole content using WebView.draw(). 回答1: Here's some pseudo code that may help. You can get the content height and width from the webview and then you can leverage webview.draw()...so something like the following. Bitmap bitmap =

Crosswalk Cordova does not build

本小妞迷上赌 提交于 2020-01-02 12:45:07
问题 I believe every version of Crosswalk Cordova I've downloaded from https://download.01.org/crosswalk/releases/crosswalk/android/ does not build successfully for me out of the box. I am following direct instructions from the Crosswalk wiki here but no luck even with the stable builds. The only time I was able to build successfully was when I read through each error on the command line and went through the java files necessary to comment some code that was causing the problem. However, since I

Capturing Crosswalk Cordova webview touch events

坚强是说给别人听的谎言 提交于 2020-01-02 07:16:09
问题 I'm building a web based Android app using the Crosswalk Cordova framework, and I'm trying to capture any touch events that occur on the XWalk webview within the main activity of my app, but so far everything I've tried I can't get the touch events to be triggered during debugging sessions. Specifically I'm trying to capture a three finger swipe down anywhere on the web view so I can display a settings pane. Here is what I've got so far in my main activity: public class MyActivity extends

Incorrect APKs versionCode order when building multiple APKs for both 32bit and 64 bit platforms with crosswalk

白昼怎懂夜的黑 提交于 2019-12-30 04:57:07
问题 I need to build the ionic/cordova application for both 32bit (armeabi-v7a and x86) and 64bit (arm64-v8a and x86_64) platforms. I build four separate APKs using commands ionic build android --release and ionic build android --release --xwalk64bit All goes well except that the versionCode (for version set to 0.0.11) is a little off - see below The problem is that x86 and x86_64 must have higher versionCode then ARM apks. This is required because x86 devices are able to handle ARM libs but there

Building combined armv7/x86 apk after Crosswalk integration in an Ionic project

送分小仙女□ 提交于 2019-12-28 02:32:10
问题 I have added Crosswalk to my ionic project. When i do ionic build android it outputs two separate APK files, one for armv7 and one for x86. However i want one single apk file bundling two architectures together. I tried setting BUILD_MULTIPLE_APKS = false but it's still building two separate apks. There is a post here saying : Took me a minute but you can get the single build file by commenting out the cdvBuildMultipleApks=true line in the platforms/android/gradle.properties Cheers But i don

Change the user agent of Crosswalk 13+ as webview in Cordova

醉酒当歌 提交于 2019-12-24 15:02:07
问题 I am trying to change the User Agent of Crosswalk used as webview for Cordova. I am currently using the plugin cordova-plugin-crosswalk-webview. I am able to accomplish the customization of the user agent with vanilla Cordova with the following code: import android.webkit.WebSettings; import android.webkit.WebView; public class MainActivity extends CordovaActivity { public WebSettings settings; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

How do I add media codecs support to Crosswalk while using the Cordova plug-in?

橙三吉。 提交于 2019-12-23 16:16:09
问题 I'm building a PhoneGap app which needs to play AAC audio. It works well using the native WebView , but I would like to use Crosswalk on a build targeting APIs 16-20 because some CSS features in my app do not work at all on Android 4.x. When I make a copy of the project to add Crosswalk Lite, I can see that the app works except for the <audio> element pointing to a AAC file. This is because Crosswalk does not ship with proprietary codecs by default. The linked page says: To build Crosswalk