Filename are missing for openFileChooser Android 4.4.4
问题 Goal: to be able to attach a file of any type to a <input type="file" /> in a webview in Android 4.1+ . (Android 5+ is fine) I set openFileChooser as I saw fit based on few examples I have found. It works on 4.1 but not on 4.4.4 where the files attached do not have their filename correctly set . Instead is set as filename the last path of the intent.mData return to onActivityResult , .e.g, for a mData value of content://com.android.providers.downloads.documents/document/2 , the filename will