// 图片选择 var selPic = function selectPic2() { Android.choosePic(3, 'selectPicCallback'); } function selectPicCallback(){ var picDiv = $("#pics"); for(var i = 0;i < arguments.length; i++) { alert(arguments[i]); var imgs = eval(arguments[i]) for( var index =0; index < imgs.length; index++) { var img = imgs[index] alert('imgfor=' + img); var imgObj = $("<img/>").attr({src:img, width: 100, height:100}); imgObj.appendTo("#pics"); } } }