开发者

replace images in data from webservice android

Hi all,

  How can i replace the text or symbol from web service with local images in drawable folder.

I get a symbol and text from web service. I need to repla开发者_如何转开发ce that symbol with my image that is saved in local drawable folder in the application.

Please suggest few ideas of how can i do that.

Thanks in advance.


You cannot change or add any drawables inside your drawable folder. These resources are compiled into an .apk file, and there is no way to change them at runtime. Only solution I see is to store downloaded images on SD card and fetch them when you need it. Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜