Problems with Strings from String.xml and integers(Andriod)

view story

http://stackoverflow.com – I'm a beginner Android Developer My program compiles, but one line doesn't work properly. Here is the line: String m = R.string.mess2 + time/1000 + R.string.mess3; The variable "time" is an int And here is the Strings.xml file from where R.string.mess2 and R.string.mess3 are retrieved <?xml version="1.0" encoding="utf-8"?> <resources> <string name="mess2">Amazing, you read the End User License Agreement in </string> <string name="mess3"> seconds, go back and read it!</string> </resources> This would usually work with As3 or C+ (HowTos)