My external link uses a file upload input but I can´t make it work because it seems to not being supported by facebook's basic internal browser/WebView on android phones. I've searched for and answer but found nothing related to facebook, any solutions anyone?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
In fact the problem is that Android webview does not have a default implementation for showing a file chooser. And each App that use a webview must implement some function of the WebChromeClient to support input of type file.
So unless Android webview will have a default file chooser implementation, The only solution would be that Facebook Android dev team implement the method
onShowFileChooser
of the WebChromeClient. See android webview documentation: http://developer.android.com/reference/android/webkit/WebChromeClient.html#onShowFileChooser
But the problem is how to report this problem to Facebook Android dev team.