I'm working with Openfire and Smack. My problem is, whenever I want to sign someone up I need to log into Openfire, like this:
AccountManager accountManager = AccountManager.getInstance(connection);
So, can I somehow avoid this useless login?
P.s. Sorry, couldn't appropriately insert code because something went wrong and code doubled itself.