无法解码流:java.io.FileNotFoundException Android

无法解码流:java.io.FileNotFoundException Android,android,html,image,Android,Html,Image,我试图从网站上获取HTML内容,并将其显示在文本视图中。但我得到了一个错误: "Unable to decode stream: java.io.FileNotFoundException" 这是logcat: 03-10 10:41:22.905: E/BitmapFactory(2994): Unable to decode stream: java.io.FileNotFoundException: /http:/www.mobileappscentre.co.uk/healthapp/

我试图从网站上获取HTML内容,并将其显示在文本视图中。但我得到了一个错误:

"Unable to decode stream: java.io.FileNotFoundException"
这是logcat:

03-10 10:41:22.905: E/BitmapFactory(2994): Unable to decode stream: java.io.FileNotFoundException: /http:/www.mobileappscentre.co.uk/healthapp/wp-content/uploads/2013/11/tmt-instability-226x300.jpg: open failed: ENOENT (No such file or directory)
这是我的代码用于

Spanned htmlSpan = Html.fromHtml(display, new ImageGetter() {           
    @Override
    public Drawable getDrawable(String source) {

      String path =  source;    

      Drawable bmp = Drawable.createFromPath(path);
      bmp.setBounds(0, 0, bmp.getIntrinsicWidth(), bmp.getIntrinsicHeight());

      Drawable bmp = null;
      return bmp;
    }
}, null);
blog.setText(htmlSpan);

当我启动文件“路径”时,我得到了正确的URL。

交叉检查您的http
URL
我已经检查过了。我烤了字符串“path”,得到了当前的URL。但在log cat中,URL是“/http:/www.mobileappscentre.co.uk/healthapp/wp content/uploads/2013/11/tmt-stability-226x300.jpg”不是路径,请检查您在浏览器中使用的URL,它是否可用。或者请查看以下帖子:“/http:/www.mobileappscentre.co.uk/healthapp/wp-content/uploads/2013/11/tmt-inst‌​ability-226x300.jpg'这是日志cat URL。没有找到它。但我在祝酒时得到的网址是“‌​ability-226x300.jpg“该url具有图像