powered by Jive Software

How to get IQ sub tag?

I have this answer :

I want to get an iterator or a vector or somthing like with the jabber ID

How can i get it ?

thanks

Hey Nahuel,

Smack does not have support for jabber:iq:browse packets out of the box. This means that you will need to extend Smack in order to be able to process and handle that packet.

You will need to extend the IQ class with a new subclass (eg. IQBrowse) and create a new class that implements the IQProvider interface which will be responsible for parsing the XML and create an instance of the new IQ class. You can read the following file documentation\providers.html to learn how to extend Smack.

Regards,

ā€“ Gato

ok thanks ! iā€™'ll do it .