How to send buddy requests?

Hi everyone,

I have developed few applications using smack api and could use most of the apis. One thing that I could not find is, how to send a buddy request or a friend request using the api.

For example - If I am developing a gtalk client and need to provide feature Add Friend, then how to do that?

Any pointers/samples etc are highly appreciated.

thanks in advance.

Cheers,

Sushrut

Hi Sushrut,

Take a look at the the createEntry method on the Roster class.

Hope that helps,

Ryan