I want to fetch the Name of the user that is currently logged onto the gtalk server. Like some one has an email address like firstname.lastname@example.org and his name on gmail or gtalk is Prince Ron. So, i want that when Ron access his gtalk from my program then the program will be able to get his name that is Prince Ron instead of only email@example.com. I had tried using AccountManager class but it throws error that feature not supported. Is there any way of doing that. I also tried using VCard for current user but getting null from all methods.
And also I was wondering how to get the previously used status messages by that user, e.g both gmail chat and gtalk desktop client shows the list of 3-4 recently used custom status messages both in available and busy mode, so if gtalk desktop client can get them then surely there is some way for that. Is this feature supported in smack or any way through XML directly?
I am using smack 3.2.0