×

Discussion Board

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

    Unhappy Camera object load fails

    Hi

    I try to make camera object. My phone is Nokia 5230 (Web Runtime 1.1).

    var so = null;
    try{
    so = nokia.device.load("camera");
    }catch(e){
    alert("Error loading camera: " + e);
    };

    That alerts: "Error loading camera: TypeError: Undefined value"

    There is installed platformservices.sis on the phone and html includes <script type="text/javascript" src="platformservices.js" /> before device load code

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

    Re: Camera object load fails

    Hi tkotti,

    are you placing this code in the 'onload' handler of your widget, or somewhere else?

    Pit

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    4

    Re: Camera object load fails

    yes it is inside onload of body

  4. #4
    Super Contributor
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Camera object load fails

    Hello,

    PS 2.0 only officially supported in N97 and N97 mini as said in the release page.

    Br,
    Ilkka

Similar Threads

  1. QTranslator load fails
    By favoritas37 in forum Qt
    Replies: 14
    Last Post: 2011-02-03, 20:26
  2. Bluetooth Engine API fails to load on the N79 device
    By bkarthik_be in forum Symbian Networking & Messaging (Closed)
    Replies: 17
    Last Post: 2009-09-08, 13:48
  3. NDS registeration module fails to load
    By vorlooni in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2005-10-10, 06:39
  4. drm object download fails
    By aurola in forum Digital Rights Management & Content Downloading
    Replies: 4
    Last Post: 2003-08-12, 11:28

Posting Permissions

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