Android file.entry phonegap不';行不通

Android file.entry phonegap不';行不通,android,file,cordova,base64,Android,File,Cordova,Base64,我试图使用getPicture插件在android设备中选择一个文件,在其成功回调中,我有以下代码: function showAlbumOnSuccess(imageURI){ window.resolveLocalFileSystemURI(imageURI, function(entry){ alert(decodeURI(entry.name)); //this show the file name

我试图使用getPicture插件在android设备中选择一个文件,在其成功回调中,我有以下代码:

 function showAlbumOnSuccess(imageURI){

            window.resolveLocalFileSystemURI(imageURI, function(entry){

                alert(decodeURI(entry.name)); //this show the file name

                entry.file(function(file){
                    var reader = new FileReader();

                      reader.onloadend = function (evt) {
                        alert("read success");
                        console.log(evt.target.result);
                      };

                    reader.readAsDataURL(file);

                },function(error){
                     alert("error "+error); 
                });

   },function(error){
              alert("error : "+error);
          }); 

    }
当我运行此代码时,en-mi应用程序立即显示

file.entry errorCallback (error code: [object : Object])
java.net.MalformedURLException:没有为此URL安装处理程序

我需要从所选文件中获取base64代码

多谢各位