×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    2

    Gif Support for Nokia 92xx Communicator

    See, I am trying to develop some simple programs for Nokia 92xx Communicator using Personal Java.
    Now, I am finding some difficult to deal with gif, jpg and png.
    Could anybody send any source code of an application (not too long, please) which works with those components?
    Please show the entire code and make any comment if necessary.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Location
    6129.87' N 2346.11' E (WGS84)
    Posts
    45
    Hi,

    GIF and JPEG are supported (as is JDK 1.1.x standard) by java.awt.Toolkit.getImage() - PNG is not supported.

    Example code should be easy to find from Sun's website and from nearly all basic Java books (chack using MediaTracker to force 'real' image data loading).

    You should also take into account that loading bigger images will fail due to very low memory limitations.

    Hope this helps for a start,

    J-P

Posting Permissions

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