You can enclose your url in double quotes, something like :
"www.miosito.net?prova®=bis"
This is a recommended way to enclose string resources in Android.
Update 1 : Have a look at the following link for more info :
Update 2:
@WebnetMobile.com : Correct, indeed :)
'&' is being treated a special character by xml and enclosing in quotes doesn't work. I tried out
www.miosito.net?prova%26reg=bis
and it didn't work out either. I even tried enclosing it in quotes but still didn't work. Am I missing something ?
Meanwhile, the following does work :
www.miosito.net%1$sprova%2$sreg=bis
and then in code :
Resources resources=getResources();
String url=String.format(resources.getString(R.string.my_url),"?","&") ;
The '%1$s' and '%2$s' are format specifiers, much like what is used in printf in C. '%1$s' is for strings, '%2$d' is for decimal numbers and so on.