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

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -