The XMPP
message being sent has some custom attribtes added in message tag like :
<message to = " asdf" from = "asdf" type = "chat" id="adsf" direction = "asdf" speed = "asdf">
<body>Speed</body>
</message>
Message that is being sent is all fine. But on receiving end , I dnt know how to read these extra attributes i.e. direction and speed
added in message tag. I tried to make custom PacketListener
but for that i need to change the whole smack library bcz every class is connected to other class.