Search code examples
androidmessagesmackasmack

how to add additional data in message asmack/smack?


I am sending a message with (a)Smack and Openfire server. I am successfully able to send message with the message body. Now i need to send some additional data with the message. I don't want to append the string to the data and then process it after receiving. Is there any other approach? or with extensions?


Solution

  • Use a custom PacketExtension.