Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User gomcoite's Avatar
    Join Date
    Jun 2008
    Posts
    5
    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 jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    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 gomcoite's Avatar
    Join Date
    Jun 2008
    Posts
    5
    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 jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    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 PC Connectivity能否链接到cdma手机上发送短信和其他操作?
    By bborn in forum Web Technologies and Multimedia Content- Web 技术和多媒体内容
    Replies: 2
    Last Post: 2004-05-04, 11:06
  3. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50
  4. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved