Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Updating UserPresence in Conference using Spark and SmackAPI

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Updating UserPresence in Conference using Spark and SmackAPI

    Hi,

    I'm experiencing a problem to make the Spark application to read the user presence status when asking to join a conference. Basically, if a user with 'away' (with yellow ball with a clock inside) status is selected to join in a conference, his status is shown as available (with green ball) on the conference window.

    While debugging the code (PacketParserUtils.parsePackage() ), I realised that the Presence package that gets sent has Type = available but mode and Status as null but for DoNotDisturb presence the package has Type = available, Status= DoNotDisturb and mode = dnd set as values.

    Can somebody please help or guide me where to look..

    Thanks.


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Updating UserPresence in Conference using Spark and SmackAPI

    Hello GlobalDictator,

    Have you managed to solve this issue? Did you use the SmackAPI code from our Tutorials section?
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

Similar Threads

  1. Problem with updating empty JTable
    By byubi in forum AWT / Java Swing
    Replies: 1
    Last Post: May 15th, 2010, 02:06 AM
  2. MouseMotionListener is not updating my variable
    By olemagro in forum AWT / Java Swing
    Replies: 1
    Last Post: February 8th, 2010, 03:44 PM
  3. updating EDT with thread swingworker/invokeLater ?
    By mdstrauss in forum AWT / Java Swing
    Replies: 0
    Last Post: October 11th, 2009, 04:52 AM
  4. Replies: 0
    Last Post: October 10th, 2009, 01:25 PM
  5. updating database
    By gurpreetm13 in forum JDBC & Databases
    Replies: 3
    Last Post: October 9th, 2009, 11:43 AM

Tags for this Thread