In my android project I have a string resource (string.xml) in the res/ folder.
in that string.xml I have created several strings, like:
<string name="my_server">http://12.34.56.78</string>
<string name="my_port">1234</string>
then I use in the code:
String url = R.strings.my_server + ":" + R.strings.my_port;
System.out.println("My server and port is: " + url);
but my output is:
My server and port is : 2131099700:2131099702
Where is my string? That seem kind a adress of that string?