V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
TimLang
V2EX  ›  问与答

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

  •  
  •   TimLang · 2015-03-13 17:20:50 +08:00 · 2246 次点击
    这是一个创建于 3547 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    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.

    真无解吗?

    2 条回复    2015-03-13 17:37:36 +08:00
    learnshare
        1
    learnshare  
       2015-03-13 17:34:51 +08:00
    微信自己把它禁止了,要不你卸载微信?

    引导用户打开其他浏览器,来完成相应功能。如果是图片上传的话,最好用开发接口,让用户发送图片到公众号。
    TimLang
        2
    TimLang  
    OP
       2015-03-13 17:37:36 +08:00
    @learnshare iOS没这个问题。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1432 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:52 · PVG 07:52 · LAX 15:52 · JFK 18:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.