×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    6

    Unhappy Symbian OS error: -18

    Hello all,

    I am trying to getSnapshot() on an N80, and I'm getting the error
    Symbian OS error: -18 in a "MediaException".

    The only thing I can find about that error is
    http://www.google.co.uk/search?hl=en...22&btnG=Search
    which basically just says that it means "KErrNotReady"

    I've tried adding in "sleep"s to let it get ready, but it hasn't helped.

    Can anyone shed any light on what might be causing this?

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    6

    Smile Re: Symbian OS error: -18

    To answer my own post.

    The code I was using wasn't displaying the image, so when I tried to getSnapshot, there wasn't anything.

    getSnapshot does say that it takes a snap of what's displayed in the camera.

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    46

    Re: Symbian OS error: -18

    Hi,caluml
    You can check the document below, it's a sample to capture image
    http://developer.nokia.com/info/sw.n..._0_en.pdf.html
    I have test the code in my emulator,and it works fine/
    Hoping it's helpful for you.

    Best regards

Similar Threads

  1. C++ exceptions VS Symbian Leaves :)
    By metalim in forum Symbian
    Replies: 18
    Last Post: 2009-04-15, 11:54
  2. Oracle Database Lite 10g Available for Symbian OS Phones
    By chirag_cel in forum News and Announcements
    Replies: 2
    Last Post: 2006-12-11, 07:00
  3. Please release installable D_EXC for Symbian 9!
    By perrett in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2006-05-10, 09:51
  4. Replies: 2
    Last Post: 2003-08-19, 16:39
  5. setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking
    By servigo in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2003-07-31, 07:47

Posting Permissions

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