Most of the places I see, file upload feature in WebView is implemented using openFileChooser() method. Is it legal/safe to use this method? If I use t
WebView
openFileChooser()
Since this is not documented in WebChromeClient, no it is not a safe API, but yes it is legal.
But you can still use it. Make sure to catch any error. But the process cannot be guaranteed to work.