Changing the user-agent of the API

Hi,

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 username@example.com/Smack and I’d like to be seen as username@example.com/MyWonderfulSoftware

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

Thank you for your help !

cho7

username@example.com/Smack

/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

++