title: Android 4.4 WebView file chooser not opening?
body: <p>We are creating an app which uses the webview and will access a page where the user needs to upload a file. We are experiencing problems with Android 4.4 where the file chooser does not open and clicking the upload button causes nothing to happen. This functionality works with earlier versions using the openFileChooser method like so:</p>
  
  <pre><code> webview.setWebChromeClient(new WebChromeClient() {
          //The undocumented magic method override
          //Eclipse will swear at you if you try to put @Override here
          // For Android 3.0+
          public void openFileChooser(ValueCallback&lt;Uri&gt; uploadMsg) {
              mUploadMessage = uploadMsg;
              Intent i = new Intent(Intent.ACTION_GET_CONTENT);
              i.addCategory(Intent.CATEGORY_OPENABLE);
              i.setType("image/*");
              MainActivity.this.startActivityForResult(Intent.createChooser(i, "File Chooser"), FILECHOOSER_RESULTCODE);
          }
  
          // For Android 3.0+
          public void openFileChooser(ValueCallback uploadMsg, String acceptType) {
              mUploadMessage = uploadMsg;
              Intent i = new Intent(Intent.ACTION_GET_CONTENT);
              i.addCategory(Intent.CATEGORY_OPENABLE);
              i.setType("*/*");
              MainActivity.this.startActivityForResult(
                      Intent.createChooser(i, "File Browser"),
                      FILECHOOSER_RESULTCODE);
          }
  
          //For Android 4.1
          public void openFileChooser(ValueCallback&lt;Uri&gt; uploadMsg, String acceptType, String capture) {
              mUploadMessage = uploadMsg;
              Intent i = new Intent(Intent.ACTION_GET_CONTENT);
              i.addCategory(Intent.CATEGORY_OPENABLE);
              i.setType("image/*");
              MainActivity.this.startActivityForResult(Intent.createChooser(i, "File Chooser"), MainActivity.FILECHOOSER_RESULTCODE);
          }
  
      });
  </code></pre>
  
  <p>I have spent a good amount of time searching for a way to do it on 4.4 but have had no luck. Has anyone managed to do this?</p>