powered by Jive Software

Add custom element to <message

Can anyone help me … I am using smack 4.3.1and I want to add custom element in <message .How can I do that ? I used StandardExtensionElement class but the element not added !!

This is my code:
StandardExtensionElement extRead2 = StandardExtensionElement.builder(
“NameSpace”, “urn:xmpp:rokayah”)
.addElement(“myElement” , “true”)


Thanks in advance.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.