In my chatting application when one user adds the other person in his/her contact list then the server entry says BOTH subscription, but in my application the code works according to TO/FROM subscription ( as it is before accepting the friend request). But when the user logs out once then the code automatically works according to BOTH subscription. What is happening I am not able to get??
ROSTER IS GIVING OLD VALUES WHILE WHEN I CHECK THE ROSTER LISTENER IT IS GIVING ME CORRECT VALUES AT RUNTIME BUT THE NEW ROSTER CHANGES VALUE ARE NOT VISIBLE IN ENTRY.GETTYPE(), whyyyyyy???
Please help me in this matter?
Please have a look on this. ( same but explained more ) - Logout to add a friend in xmpp smack
Thanks