SourceForge has been redesigned. Learn more.
Close

how to get Contact Info ?

2010-05-12
2013-03-25
  • Dmitry Moskalets

    does anyone know how to get full contact info?
    not only loginId but Nickname. First Name, Second Name, email…

     
  • Alex

    Alex - 2010-05-12

    Yeah, look at the GUI.
    There's a menu called "Info" wich does it.
    Search the code for "Remove Contact". You'll find "Info" menu nearby.
    I am guessing it's a call on some child of Connection class. Like MessageConnection or smth.

     
  • Dmitry Moskalets

    Yes I did, but the is no info like First Name, Second Name, email…

     
  • Alex

    Alex - 2010-05-13

    Oh. Most protocols don't offer this kind of info. ICQ does… not sure which others.
    Feel free to expand on the code and implement getting more data from the underlying platform APIs to do it, I'll check it in.

     
  • Dmitry Moskalets

    cool :)
    maybe you can point me where I can expand this API?
    because I'm no so good in it

     
  • Alex

    Alex - 2010-05-13

    Look at what Info menu calls.
    Then find that call in each of the protocol classes. Say in GoogleTalkConnection.
    Then see what you can do to provide the client's email etc.

    All the protocols we use are public, so just find their forums and post there if you need help.

     

Log in to post a comment.