Thanks guys, but i've tryed everything and didn't work.
basicaly, thats my sorce code: String contact = "user%hotmail.com"; // tryed: user%40hotmail.com, user\40hotmail.com, user%hotmail.com Roster roster = connection.getRoster(); String absoluteFriend = contact + "@" + gatewayName + "." + connection.getServiceName(); roster.createEntry(absoluteFriend, contact , null); Any other ideas?