这是webview去调用js的方法
webView.loadUrl("javascript:setPicture('" + "file://" + SelectPhotoUtil.getPictureUrl(getActivity(), data.getData()).toString() + "')");
这是js的方法
function setPicture(picture){
alert(picture);
document.getElementById('photo').src =picture;
}
但是图片没办法显示出来
你是用android自带的webview吗