I am creating an application based on XMPP chat Messenger. Now we have a configuration function that needs to be implemented in the application, for example, “Send / receive a friend’s request” in the messenger. How can we do this. Please help with your suggestions.
roster = _connection.getRoster(); roster.createEntry(userID, nickname, null);
We are currently using this method, but it has directly added the contact to my messenger contact list. Now I want to ask if there is any new friend request coming up, like BBM (Blackberry Messenger). then he must ask for confirmation before adding directly to the contact lists that he is currently doing.
Please help as soon as possible.
source share