Menu

User with Hide Status

Help
SCM
2009-05-21
2013-04-29
  • SCM

    SCM - 2009-05-21

    Hi together

    Know if seen the tutorials and i already wrote a small application which list all msn contacts and their status.

    The only problem is, how can i detect if a friend of mine is in the hide status? Because if i use MsnContact#getStatus hidden users are marked as MsnUserStatus.OFFLINE instead of MsnUserStatus.HIDE

    How can i detect this?

     
    • Raparthi sushma

      Raparthi sushma - 2009-05-21

      Hi,
      The feature is not there in Windows Live .It's only present in MSN . It's similar to "invisible to every one in yahoo". So you will be gettig the status as offline only as they appear offline to every one(all friends / rosters).So if you can tell me your exact requirment i can help you.

       
    • SCM

      SCM - 2009-05-21

      Thx for your answer.

      My idea was to write a very thin client which only the most necessary functions to communicate with other users which are using the original msn clients. So i thought about if there is a way to show in my client, if other users which are using the original msn client are hidden.

      Is my goal now understandable?

       
    • SCM

      SCM - 2009-05-22

      Additionally, i detected today that as soon as one of my friends is in the hide mode, i can't load my main window anymore. I think it's because i make there are condition like

      if (status == MsnUserStatus.ONLINE) {
                      path = path.concat("online.png");
                  }
             
                  else if (status == MsnUserStatus.BUSY) {
                      path = path.concat("busy.png");
                  }
             
                  else if (status == MsnUserStatus.AWAY) {
                      path = path.concat("away.png");
                  }
             
                  else if (status == MsnUserStatus.BE_RIGHT_BACK) {
                      path = path.concat("brb.png");
                  }
             
                  else if (status == MsnUserStatus.HIDE) {
                      path = path.concat("hide.png");
                  }
             
                  else if (status == MsnUserStatus.IDLE) {
                      path = path.concat("idle.png");
                  }
             
                  else if (status == MsnUserStatus.OFFLINE) {
                      path = path.concat("offline.png");
                  }
             
                  else if (status == MsnUserStatus.ON_THE_PHONE) {
                      path = path.concat("phone.png");
                  }
             
                  else if (status == MsnUserStatus.OUT_TO_LUNCH) {
                      path = path.concat("lunch.png");
                  }

      Then i also have another doubt. How can i start a conversation with another user? i know i have to use some kind of a switchboard. if the other user starts the conversation, i get this switchboard. but what can i do if i want to start the conversation??

      thx!

       
    • Remco

      Remco - 2009-05-22

      Point 1. Rewrite your code.

      2. There are two way's to start a new conversation.
      First one is calling a method sendText('') to a contact. The other one is starting a switchboard. With a listener you can intercept the new switchboard, and then you can invite a friend. 

      The first one does look easier, but I think the second option is the one you need. You can read a little bit more on the following page: https://sourceforge.net/forum/forum.php?thread_id=3122252&forum_id=405892

       
      • SCM

        SCM - 2009-05-22

        hi

        thx for your answer

        point 1)
        yes sure i could just delete the methode which hide status
        but... why isn't this working? these hide status seems to cause problem everywhere

        point 2)
        thx for the link im going to check it!

         
    • Juliano

      Juliano - 2009-05-26

      I had this problem too, but when the contact is Hide he does not come in the switchboard when i invite him.
      Any other solution for this?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.