You Are Here:

Community: Developer Discussion Boards

#1 Old Unhappy Symbian OS error: -18 - 2007-03-28, 12:20

Join Date: Mar 2007
Posts: 6
caluml
Offline
Registered User
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?
Reply With Quote

#2 Old Smile Re: Symbian OS error: -18 - 2007-03-28, 12:34

Join Date: Mar 2007
Posts: 6
caluml
Offline
Registered User
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.
Reply With Quote

#3 Old Re: Symbian OS error: -18 - 2007-03-29, 04:29

Join Date: Mar 2007
Posts: 46
gordon32
Offline
Registered User
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
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ exceptions VS Symbian Leaves :) metalim General Symbian C++ 18 2009-04-15 12:54
Oracle Database Lite 10g Available for Symbian OS Phones chirag_cel News, Announcements and Job Listings 2 2006-12-11 08:00
Please release installable D_EXC for Symbian 9! perrett Tools and SDK Feedback 0 2006-05-10 10:51
How Can I Use TSmsUserDataSettings in Symbian 6.1? ilsocio General Symbian C++ 2 2003-08-19 17:39
setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking servigo Mobile Java Networking & Messaging & Security 2 2003-07-31 08:47

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ