- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 android 应用程序中有自定义 Webview,它打开一个包含** html 下拉列表(选择 HTML 标记)** 的网页。每当我点击这个下拉列表应用程序就崩溃了。
此崩溃发生在 Samsung Tab Android 9.0 版上,它在 Samsung Tab 7.0 版上运行良好,Google Pixel Mobile V9.0、三星移动设备 V7.0、V6.0 也运行良好。它也适用于 Tab Emulator 8.0、9.0 版。
我做了很多研究,但没有运气。过去有很多帖子,人们在使用 Android 8.0 时遇到过同样的问题,但没有合适的解决方案。
有人说这是因为我们将 ApplcationContext 传递给 fragment (其中包含 Webview)并建议在 XML 中添加带有 Activity 上下文的 tool:context 但它不起作用。
引用链接:- Trying to open SELECT tag in Android WebView crashes the application
Trying to open SELECT tag in Android WebView crashes the application
我没有在具有相同版本 V9.0 的任何其他品牌设备(三星除外)上尝试它,但我认为它只发生在三星 Tab 设备版本 9.0 上,因为它不会在具有相同版本的模拟器上崩溃,甚至在移动设备上也不会崩溃
所以,我不确定为什么会这样。有人可以调查一下并提供适当的解决方案。
2019-09-27 12:56:56.508
13968-13968/****************************************pe
D/InputMethodManager: startInputInner - Id : 0 2019-09-27 12:56:56.508
13968-13968/****************************************pe
I/InputMethodManager: startInputInner -
mService.startInputOrWindowGainedFocus 2019-09-27 12:56:56.512
13968-13968/****************************************pe
D/InputTransport: Input channel constructed: fd=198 2019-09-27
12:56:56.513 13968-13968/****************************************pe
D/InputTransport: Input channel destroyed: fd=171 2019-09-27
12:56:56.665 13968-13968/****************************************pe
******: android.view.InflateException: Binary XML file line #32: Binary XML file line #32: Error inflating class TextView 2019-09-27
12:56:56.666 13968-13968/****************************************pe
******: Caused by: android.view.InflateException: Binary XML file line #32: Error inflating class TextView 2019-09-27 12:56:56.668 13968-13968/****************************************pe ******: Caused
by: android.content.res.Resources$NotFoundException: Unable to find
resource ID #0x20b019d 2019-09-27 12:56:56.669
13968-13968/****************************************pe ******: at
android.content.res.ResourcesImpl.getResourceEntryName(ResourcesImpl.java:291)
2019-09-27 12:56:56.699
13968-13968/****************************************pe ******: at
org.chromium.content.browser.input.SelectPopup.show(PG:40) 2019-09-27
12:56:56.699 13968-13968/****************************************pe
******: at android.os.MessageQueue.nativePollOnce(Native Method) 2019-09-27 12:56:56.699
13968-13968/****************************************pe ******: at
android.os.MessageQueue.next(MessageQueue.java:326) 2019-09-27
12:56:56.699 13968-13968/****************************************pe
******: at android.os.Looper.loop(Looper.java:181) 2019-09-27 12:56:56.700 13968-13968/****************************************pe
******: at android.app.ActivityThread.main(ActivityThread.java:7179) 2019-09-27
12:56:56.700 13968-13968/****************************************pe
******: at java.lang.reflect.Method.invoke(Native Method) 2019-09-27 12:56:56.700
13968-13968/****************************************pe ******: at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
2019-09-27 12:56:56.701
13968-13968/****************************************pe ******: at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
2019-09-27 12:56:56.725
13968-13968/****************************************pe A/chromium:
[FATAL:jni_android.cc(249)] Please include Java exception stack in
crash report
最佳答案
在这里您需要在 manifest.xml 文件中进行更改
内部标签插入:
android:cleartextTrafficPermitted="true"
关于android - 单击 Samsung Galaxy Tab 9.0 版 WebView 中的 SELECT 标记会使应用程序崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58249362/
我刚刚按照教程创建了一个新的小部件。我创建了一个包含所有文件的 zip,并将其重命名为 HelloWorld.wgt 而不是 HelloWorld.zip。我通过数据线将它发送到我的三星 star/c
Samsung Galaxy Apps 商店不接受我提交的应用。 有一个类别部分,其中有两个用于选择类别的字段,我已将两者都设置为主要类别,但是当我提交它时,它指出我仍然需要为我的应用程序选择一个类别
我正在寻找在我的 Android 应用程序中使用 Samsung Comic Fun Filter 的可能性。有可能这样做吗?或者这是三星应用程序独有的? 最佳答案 是的。有可能的。三星为此提供了一个
三星 Galaxy S6 中有一个 S 健康应用程序,可以测量心率、SpO2、压力和其他值。看来我可以为此购买额外的应用程序。这个S Health是三星独有的吗?当我在线搜索 Google Fit A
关于我的主题问题我有一些关于 PNACL 的基本问题 是否所有三星 SmartTV 都支持 PNACL? 2.如果我使用 pepper 31,我的应用程序可以在旧电视上运行吗? 现在主要的问题 我已经
经过一番研究,我得出结论,这个应用程序的 ID 为 org.volt.apps , 但通过 tizen.application.launch 启动它或 tizen.application.launch
我已经实现了一个 android 应用程序来在网络摄像头之间切换。我使用此代码 Android ICS and MJPEG using AsyncTask .它工作得很好。但是现在的问题。在对 Sam
说出于某种原因,也许是某种安全限制,您不能“不”运行与三星云服务器等通信的三星“S Health”应用程序。但是您确实想访问三星的历史记录/日志“Gear S3 watch ”,这有可能吗?或者三星是
除其他外,我想以编程方式获取三星设备上保修位的状态。很像 Odin 模式下显示的信息。 我知道该位不适合轮询,但我想知道是否有任何方法可以在无需创建容器或在证明期间获取它。 很像 GP 上的 KNOX
如何获取使用 HTML、CSS 和 JavaScript 编写的 Samsung SmartTV 应用程序的当前时间? 问题出在 Javascript Date目的。当我打电话时new Date()在
我们一直在试验三星智能电视应用程序。 最近我们构建了一个原型(prototype)应用来试验某项功能,但我们正在努力让它在真正的电视上运行。 即使它在三星模拟器上运行完美,但在真正的电视上几乎没有运气
已开发应用程序并部署到电视上。现在我想要单宽行为(部分覆盖底层输入、 channel 上的屏幕),但我无法这样做。这是我所做的: a) 放body, html {background-color:tr
我才刚刚开始三星智能电视的开发,到目前为止,我的第一步是一个巨大的失败。 我正在运行 Linux,因为我已经为 Android 开发安装和配置了 Eclipse,所以我没有成功安装和运行 Smart
我已经下载了最新的 sdk,解压缩到桌面并尝试运行我的第一个 helloworld 应用程序,但在 eclipse 上没有任何反应。没有任何建筑物,目前没有任何进程,没有任何错误等。当我点击“运行三星
我将 Android 应用程序分发到 Google Play 商店。 我从我的用户那里收到“此商品与您的设备 samsung advance 不兼容”。 手机是三星Advance。 显现:
我真的已经尽力了,但我就是找不到解决这个问题的方法。我为 Android 设备编写了一个 Soundboard,其中每个声音及其按钮图像都是动态加载的。这是我的代码中的关键段落: private vo
我正在为三星智能电视创建一个应用程序。在我的应用程序中,我需要获取智能电视的 IP 地址。有谁知道怎么弄吗? 最佳答案 你需要使用 SEF NETWORK 来做到这一点,确保你在 index.html
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎是题外话,因为它缺乏足够的信息来诊断问题。 更详细地描述您的问题或include a min
我安装了 Hyperterminal 并使用了我的 samsung galaxy s3 并使用 usb 数据线将它连接到我的笔记本电脑。我安装了驱动程序,计算机将 s3 检测为调制解调器。它在 sup
我已经为 Android 编写了一个应用程序。主要部分是它通过蓝牙进行通信。我有四个设备: 1. 三星 Galaxy S2 2. 三星 Galaxy Gio 3.Netsurfer touch(一款非
我是一名优秀的程序员,十分优秀!