安卓 4.0 的手机用微信浏览器打开 html5 应用上传文件失败有解决方法吗

2015-03-13 17:20:50 +08:00
 TimLang

网上搜了很多解决方案都不行。有个看起来还算靠谱的结论:

Issue 53088: Android reloads web page when selecting file

Most likely your device is running low on memory so when you open the file chooser dialog, the browser app is closed. When you close the chooser, the browser is reopened and has no choice but to reopen the page. That's how Android works. I know it's not helpful in your case, but if that's the problem you are seeing, you are unlikely to get a fix as this is core to the whole of Android.

Try and use some task managers to close all other apps and then try thus again and see if it works better and confirms memory is your issue.

真无解吗?

2240 次点击
所在节点    问与答
2 条回复
learnshare
2015-03-13 17:34:51 +08:00
微信自己把它禁止了,要不你卸载微信?

引导用户打开其他浏览器,来完成相应功能。如果是图片上传的话,最好用开发接口,让用户发送图片到公众号。
TimLang
2015-03-13 17:37:36 +08:00
@learnshare iOS没这个问题。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/176671

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX