powered by Jive Software

Simplest way to send/receive raw XML stanzas

How do I send raw xml stanzas. Tried to subclass a presence packet and override the toXML routine for sending PEP packets. I get some error packets when I do that.

Update: I tried to override toXML() and I can send. But when I tried to create a custom Presence packet to subscribe to tunes, and the server sends me an IQ packet, I see smack sending an error packet … even though I am eating up all the IQ packets in my handler … Maybe thats the subject for another thread!

Hi envydd, see my reply in this thread: http://community.igniterealtime.org/message/204605#204605