×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    5

    Unable to open image - Nokia WRT [Flash]

    hi fellas,

    i am making a flash nokia wrt and i have a button which calls a function to open an image.

    on (release) {
    getURL("google.jpg");
    }
    it works fine on computer but on the device it says
    "unable to open image"

    please help.

    thanks
    gomcoite

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Unable to open image - Nokia WRT [Flash]

    Hello gomcoite,

    in order to open a link in the Web browser, you should specify an absolute path, something like: http://www.yourdomain.com/google.jpg

    Hope it helps,
    Pit

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    5

    Smile Re: Unable to open image - Nokia WRT [Flash]

    hi,

    what if i want to access a file locally i.e. the file is in the package and not a website?

    any ideas how to go about it?

    thanks.

    Ani

    S60 Blog

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Unable to open image - Nokia WRT [Flash]

    Hello Ani,

    a file that is packaged within a widget is actually stored in the widget's private folder, so it'll be not accessible from other applications.

    For other kind of files, stored in public folders, (e.g.: images stored in the device gallery) you can access them by specifying their absolute paths.

    Pit

Similar Threads

  1. 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
  2. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50
  3. Series 60 Concept Emulator (SDK Beta 0.2 Linux) not working
    By mattbee in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-06-10, 11:43

Posting Permissions

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