crosswalk

How to get a video stream encoded in H.264 to play in a “WebView”?

青春壹個敷衍的年華 提交于 2021-01-27 19:06:04
问题 I have a remotely hosted webpage with an html5 video player that streams H.264-encoded video. I need to embed this page (not open externally in a browser) in my Android Activity. The latest Android System Webview (ver 63.0) doesn't support H.264 encoding nor does Crosswalk's Webview (matching my hardware architecture). What are my options? 回答1: Updated answer After some digging, it seems that the webview in Android does indeed have issues supporting h.264. This is because it is based on

安卓APP载入HTML5页面解决方式总结

送分小仙女□ 提交于 2020-11-20 08:07:12
因为H5页面在移动端的兼容性及扩展性方面体现出来的优势,又兼得APP中植入H5页面相应用的灵活性有大大的提升(如活动、游戏的更新等)。APP开发不可避免的须要载入一些H5页面。但安卓client对网页内容的排版、整理、交互等可能会出现一些不可预料的问题。本文将对安卓端载入网页写一些比較通用,可能避免问题的统一的解决方法总结。 背景 一般对前端知识有所了解的都清楚,解析网页主要是靠页面渲染引擎和JS解析引擎,前者负责取得网页的内容(HTML、XML、图象等等)、整理信息(比如加入CSS等),以及计算网页的显示方式然后会输出至显示器或打印机,后者负责网页的一些动态交互等。 安卓操作系统在前端页面载入方面针对开发人员提供了webView组件。并给予响应的API去使用。但其底层的内核在4.4曾经是webKit内核(对H5的支持还远远不够),4.4以后是chromium内核(JS解析引擎採用的便是现在最经常使用的V8引擎,对H5的支持也逐渐加大),随着安卓操作系统的不断迭代,5.0已解决通过网页打开本地文件选择器的问题。总之技术在不断的成熟,有兴趣了解细节的可參考 http://blog.csdn.net/typename/article/details/40425275 疑难杂症 近期做了个项目,里面须要在APP中载入一个叫大转盘的活动。活动页面当然是用H5写的啦

SeekBar progress making the crosswalk webview choppy

一世执手 提交于 2020-01-15 05:04:27
问题 My main activity contains a webview and a seekbar . The seekbar is an interface to interact with the server , and the crosswalk webview is to visualize a jmpeg streaming My problem is: while the user is changing the position of the seekbar 's thumb the webview content looks choppy. seekbar 's listener implementation: seek.setOnSeekBarChangeListener( new SeekBar.OnSeekBarChangeListener() { @Override public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { int x=2

SeekBar progress making the crosswalk webview choppy

▼魔方 西西 提交于 2020-01-15 05:04:08
问题 My main activity contains a webview and a seekbar . The seekbar is an interface to interact with the server , and the crosswalk webview is to visualize a jmpeg streaming My problem is: while the user is changing the position of the seekbar 's thumb the webview content looks choppy. seekbar 's listener implementation: seek.setOnSeekBarChangeListener( new SeekBar.OnSeekBarChangeListener() { @Override public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { int x=2

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)

Crosswalk Cordova Android multiple file select

妖精的绣舞 提交于 2020-01-01 03:27:04
问题 I have a hybrid app built using cordova and angularjs, for Android I run the app using crosswalk. I've been scouring the internet to find the solution for the html5 file input to allow selection of multiple files. I'm using the following element for file selecting: <input type="file" multiple="multiple" name="files[]" /> I am running Android Lollipop version 5.1.1 and Crosswalk version 20, I have tested with Crosswalk version 18 and 19 also. Chrome is installed on my device running the latest

Maven repository down?

旧城冷巷雨未停 提交于 2019-12-30 11:13:15
问题 The maven repository appears to be down. Trying to fetch data from the following url results in an error: https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml Is this temporary or does this have to do with crosswalk no longer being developed? => Errors executing Cordova commands: While building Cordova app for platform Android: Error:/Users/fullhdpixel/Projects/MyRoutes/.meteor/local/cordova-build/platforms/android/gradlew:

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

Crosswalk (xwalk) pull to refresh not working

孤者浪人 提交于 2019-12-25 01:15:02
问题 I'm using Crosswalk ( XwalkView ) instead of the default Webview on Android but it seems that the defalt pull-to-refresh functionality doesn't work on Android 4.3. I've tested it on 5.0 and it's ok, but on 4.3 and 4.2.2 it doesn't work. I'm guessing it has to do with < 5.0 ?! I've tried something like this to enable it, but it failed to work: //Disable the edge effect and try to enable pull to refresh in case we're using xwalk webviews if (BuildConfig.IS_XWALK) { final String INIT_SWITCHES[]