diff --git a/framework/src/org/apache/cordova/CordovaChromeClient.java b/framework/src/org/apache/cordova/CordovaChromeClient.java index 315025fe..4b30894c 100755 --- a/framework/src/org/apache/cordova/CordovaChromeClient.java +++ b/framework/src/org/apache/cordova/CordovaChromeClient.java @@ -385,6 +385,11 @@ public class CordovaChromeClient extends WebChromeClient { } public void openFileChooser( ValueCallback uploadMsg, String acceptType ) { + this.openFileChooser(uploadMsg, acceptType, null); + } + + public void openFileChooser(ValueCallback uploadMsg, String acceptType, String capture) + { mUploadMessage = uploadMsg; Intent i = new Intent(Intent.ACTION_GET_CONTENT); i.addCategory(Intent.CATEGORY_OPENABLE);