Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2008

    Post Displaying image on Emulator/Mobile


    i m using S60 3rd edition and J2ME .
    i want to display image on emulator using createImage() function.
    i m trying to give source path for image but its not working.......

    createImage(Image source)

    plz tell me where should i store image and how should i give its path .......

    i m using .png image

  2. #2
    Super Contributor
    Join Date
    Apr 2007

    Re: Displaying image on Emulator/Mobile

    u could place image in the root directory of ur project...
    and then acces it with createImage("/image.png");

  3. #3
    Super Contributor
    Join Date
    Nov 2003
    Bangalore , India

    Re: Displaying image on Emulator/Mobile

    You can use createImage() to create the Image object and display it in a Form or Canvas. You can read the images from Local FileSystem, Internet or as bundled along with JAR file or from RecordStore.

    How to read an image from Gallery in Java ME

    How to read an image file from the JAR

    How to receive an image from the server

    Hope this helps!

    Twitter : @balagopalks
    Linkedin : @balagopalks

Similar Threads

  1. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  2. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  3. displaying an image on the main screen
    By deepthis in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-10-13, 08:49
  4. Displaying image
    By kapot in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2004-11-16, 10:10
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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