How to get custom attribute value from an XMPP XML message?

前端 未结 3 1866
梦如初夏
梦如初夏 2021-01-05 11:30

Ok guys, simple question but pretty important to me.

so, other android client are sending this xml msg:



        
3条回答
  •  自闭症患者
    2021-01-05 12:08

    You can't achieve it without modifying the source code. And the proper approach in XMPP is to create extensions to the standard packets, not modify them. You can refer to Cannot Read Custom Attributes From Message TAG when using asmack XMPP library for android?, which provides the details.

提交回复
热议问题