×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    4

    Online and Offline images in J2ME

    Am trying to implement an instant messenger and i would love some advice on how i can load different images along contacts in a user's contact list to distinguish when someone is online and offline using presence info sent by the server.

  2. #2
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    65

    Re: Online and Offline images in J2ME

    Quote Originally Posted by dninsiima View Post
    Am trying to implement an instant messenger and i would love some advice on how i can load different images along contacts in a user's contact list to distinguish when someone is online and offline using presence info sent by the server.
    The best way for you to implement the Presence based images is to have the icons as a part of the jar file (res). This is if images are constant like online, offline away etc.
    However if you have to load different images for different users like in google chat. then it is best to have a JSP at the server side that returns a Byte array stream of the image according to some unique key like user id or some number/string that is unique to every user.
    Thanks and Regrads
    Pradeepcg

Similar Threads

  1. Anrufen Online - Massive Multiplayer Symbian Online Game
    By zdrawde in forum News and Announcements
    Replies: 10
    Last Post: 2009-08-10, 07:06
  2. Replies: 3
    Last Post: 2008-09-22, 07:49
  3. Open Signed Offline and Protected UID
    By schnesim in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2008-07-25, 10:48
  4. J2me Midlet jar jad file DRM protection:
    By sumanbera in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2007-11-02, 22:27
  5. Offline mode - emulator S60 3rd MR
    By heuven in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-02-06, 10:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×