Hi everyone,
I have a problem, when I want to use the strings from string.xml.
I tried something like this:
int result = 1;
String mystr = "some text" + result + R.string.myresstring;
But in the new string mystr is not the String from R.string.myresstring, there is the integer id from the resource.
But how can I acces the String behind this int id? I hope you understand what I mean ;D
I have a problem, when I want to use the strings from string.xml.
I tried something like this:
int result = 1;
String mystr = "some text" + result + R.string.myresstring;
But in the new string mystr is not the String from R.string.myresstring, there is the integer id from the resource.
But how can I acces the String behind this int id? I hope you understand what I mean ;D