【发布时间】:2012-08-28 07:17:09
【问题描述】:
我想在 LWUIT 表单屏幕上显示来自 Rss 文件的图像和描述 这是我的代码:
HTMLComponent com=new HTMLComponent();
com.setBodyText(detailNews.getDescription());
form2.addComponent(com);
代替 *detailNews.getDescription()*,在循环中形成一个Rss URL的字符串是
<p><img border="1" align="left" width="150" vspace="2" hspace="2" height="159" src="/tmdbuserfiles/Prithvi2_launch1(3).jpg" alt="Prithvi II, ballistic missile, DRDO, armed forces,Chandipur, Balasore district, Odisha State" />The Strategic Forces
Command of the armed forces successfully flight-tested the surface-to-surface Prithvi II missile from Chandipur in Balasore </P>
如果我执行,我将面临应用程序意外退出,因为它耗尽了内存异常
【问题讨论】: