Changing the user-agent of the API


i wrote a software using the Smack API (it works great by the way), and I’d like to change the user-agent of the API.

Because other people currently see me as and I’d like to be seen as

I don’t even know if it’s possible to do that without modify the source of the library !

Thank you for your help !


/Smack is the Name of the Resource, as soon as you change the Resource it will display something else

Im not familiay with the API but that should be no problem

Thank you very much !

I was searching for the wrong keyword : not user-agent, but resource !

Few seconds later, google & documentation said me :

connection.login(“username”, “password”, “SomeResource”);

So thank you again for your very quick and accurate response