I understand that to create an account I do:
AccountManager manager = conn.getAccountManager();
manager.createAccount(userName, password, attributes);
If I want to detect whether there was a clash (a user already exists with that userName) I can just try and catch an XMPPException.
My question is - can I check whether the user exists already WITHOUT calling createAccount?? Invoke somekind of lookup method?