andeoid edittext 网络图片加载

andeoid edittext 网络图片加载。怎么处理好图片

可以返回图像的url给你,你解析html,用ImageGetter

        imgGetter = new Html.ImageGetter() {  
            public Drawable getDrawable(String source) {  
                Logger.debug("RG", "source---?>>>" + source);
                Drawable drawable = null;  
                URL url;  
                try {  
                    url = new URL(source);  
                    Logger.debug("RG", "url---?>>>" + url);  
                    drawable = Drawable.createFromStream(url.openStream(), ""); // 获取网路图片  
                } catch (Exception e) {  
                    e.printStackTrace();  
                    return null;  
                }  
                drawable.setBounds(0, 0, drawable.getIntrinsicWidth(),  
                        drawable.getIntrinsicHeight());  
                Logger.debug("RG", "url---?>>>" + url);  
                return drawable;  
            }  
        }; 
tvDetail.setText(Html.fromHtml(data,imgGetter,null));