MessageListener didnt receive full message ASMACK Android
Posted
by
Frank Junior
on Stack Overflow
See other posts from Stack Overflow
or by Frank Junior
Published on 2014-05-28T05:45:20Z
Indexed on
2014/06/08
21:25 UTC
Read the original article
Hit count: 262
i got problem when want to receive message, right now i am able to receive message, but some attribut is missing
class MyMessageListener implements MessageListener {
@Override
public void processMessage(Chat chat, Message message) {
Util.DebugLog("message->"+message.toXmlns());
}
}
what i got is
<message to="[email protected]" type="chat" from="[email protected]/ff3b2485"><body asdf="asdf">aaa</body></message>
talk_id and chat type inside message is missing.
This is want i want when receive message
<message to="[email protected]" type="chat" talk_id="304" chat_type="0" from="[email protected]/ff3b2485"><body asdf="asdf">aaa</body></message>
© Stack Overflow or respective owner