×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    1

    Unhappy How to create an Image from a .jpg file on the MMC card.

    When I tried to create an Image from MMC storage card like:

    Image.createImage("file:///root1/photos/1.jpg");

    and I run my project with the "DefaultColorPhone" Emulator of WTK2.5,
    I always got an IOException.I tried an png file, and failed.
    And I 've no idea about it, anybody meets the same problem, help! help!

  2. #2
    Regular Contributor
    Join Date
    Aug 2006
    Posts
    307

    Re: How to create an Image from a .jpg file on the MMC card.

    On a WTK 2.5 emulator you should use the following file locator: "file://localhost/photos/1.jpg"

    This, however, will work only when you have the "photos" directory in the emulator's "filesystem" directory: "C:\...\WTK25\appdb\DefaultColorPhone\filesystem\"

Similar Threads

  1. How to show image in Help file
    By itsme in forum Symbian
    Replies: 0
    Last Post: 2007-04-30, 12:28
  2. MMC card insert / remove events
    By heuven in forum Symbian
    Replies: 0
    Last Post: 2006-08-23, 09:00
  3. DOJA appli -> Create Image from Byte Array
    By teamore in forum Mobile Java General
    Replies: 2
    Last Post: 2004-10-29, 11:14
  4. Sending .jpg file from phone to PC
    By ja_calulot in forum Symbian
    Replies: 0
    Last Post: 2003-09-06, 09:34
  5. Create MBM file from BMP file.
    By BugBuster in forum Symbian
    Replies: 5
    Last Post: 2003-09-04, 03:25

Posting Permissions

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