如何在Android中获取图像源的Html标签

时间:2013-09-23 13:22:01

标签: android

在XML中看起来像这样。我想得到他的Image src值...

<content:encoded>
<![CDATA[
<p><img class="aligncenter size-full wp-image-3369" alt="storyboard6" src="storyboard62.jpg" width="900" height="673" /><img class="aligncenter size-full wp-image-3370" alt="storyboard7" src="storyboard72.jpg" width="900" height="447" /> <img class="aligncenter size-full wp-image-3367" alt="storyboard4" src="storyboard43.jpg" width="900" height="673" /><img class="aligncenter size-full wp-image-3368" alt="storyboard5" src="storyboard52.jpg" width="900" height="599" />]]></content:encoded>

如何获取所有图像src值并存储到数组列表。请帮帮我

1 个答案:

答案 0 :(得分:0)

请展示你到目前为止所尝试过的内容。这似乎是一个典型的“google it yourself”问题。例如this link contains a short tutorial

相关问题