Possible Duplicate:
Inserting a Java string in another string without concatenation?
In Object C , the string formatting is like this
url = [NSString stringWithFormat:@"%@devices.json?user=%@&pswd=%@",server_name, user,password];
What about in Java for Android? How does it handle that?