Not able to load/show image in XML file

String imagem = getImage();
public String getImage() {
    if (TAG_IMAGEM.startsWith("<enclosure ")) {
        String cleanUrl = TAG_IMAGEM.substring(TAG_IMAGEM.indexOf("url=") + 5, TAG_IMAGEM.indexOf("/>") - 2);
        return cleanUrl;
    } else {
        return TAG_IMAGEM;

Source link

By Ajay Kumar Verma

techopenion is the one stop solution of all your information needs. Get everything from latest tech updates to latest gadgets in technology.

Leave a Reply

Your email address will not be published. Required fields are marked *