可能重复:
how to display image in grid view reading imageUrl from xml using sax parser in android
感谢您的回答,但我能够从url读取xml文件,但我需要在xml中使用imageUrl,因此在网格视图中显示..这是我的xml文件并读取URL
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel>
<name>ndtv</name>
<logo>http://a3.twimg.com/profile_images/670625317/aam-logo--twitter.png</logo>
<description>this is a news Channel</description>
<rssfeed>ndtv.com</rssfeed>
</channel>
<channel>
<name>star news</name>
<logo>http://a3.twimg.com/profile_images/740897825/AndroidCast-350_normal.png</logo>
<description>this is a newsChannel</description>
<rssfeed>starnews.com</rssfeed>
</channel>
</channels>