send and receiving message using smack API

后端 未结 3 2073
北恋
北恋 2021-01-12 00:53

I have setup my open fire(jabber server) on local machine with two user testuser1 and testuser2 .using Spark client both users perform chat without any issue,it\'s nice.

3条回答
  •  春和景丽
    2021-01-12 01:01

    You are creating a chat and sending a chat message from both ends but not listening for a chat from either. Use a ChatManagerListener to listen for incoming chats from other clients.

提交回复
热议问题