php - android: how to store api URL as String resource -
i'm trying store urls in strings.xml file. need work json objects urls of form:
http://es.wikipedia.org/w/api.php?format=json&action=parse&page=plaza_de_espa%c3%b1a_(madrid)
i have tried solutions proposed in of stackoverflow forums, i.e, tried replacing & %26 eclipse marks error. there way solve this?
solved it! urls have written in folllowing way:
http://es.wikipedia.org/w/api.php?format=json&action=parse&page=plaza_de_espaƱa_(madrid)
that is, replacing & &
Comments
Post a Comment