You Are Here:

Community: Developer Discussion Boards

#1 Old front camera not working on N70 - 2006-11-04, 17:00

Join Date: Oct 2006
Posts: 17
galaktico
Offline
Registered User
Hi guys,
I was trying to take a picture with the front camera of my N70 using the PyS60 camera module and I got this error:


>>> from camera import *
>>> take_photo(position=1)
Traceback (most recent call last):
File "<console>", line 1, in ?
File "C:\system\libs\camera.py", line 68, in take_photo
position))
SymbianError: [Errno -5] KErrNotSupported


Any idea?
I am using the 1.3.12 release

thanks
Reply With Quote

#2 Old Re: front camera not working on N70 - 2006-11-06, 08:41

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
Hi galaktico,

try to print the camera available for your devices:

Code:
import camera
print camera.cameras_available()
let see what it gives

LFD


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote

#3 Old Re: front camera not working on N70 - 2006-11-06, 13:58

Join Date: Oct 2006
Posts: 17
galaktico
Offline
Registered User
Hi LFD,
I tried it and this is the result

>>> import camera
>>> print camera.cameras_available()
2

It seems I shold be able to use it, right?
gpp
Reply With Quote

#4 Old Re: front camera not working on N70 - 2006-11-07, 13:25

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
Yes it should! And 1 is for the front one... Have you tried to set all the other parameters like the mode, size?

The default size, thanks to the documentation, seems to be 640x480. Now I'm wondering if the front camera support this size. Try to set it to the minimum i.e 160x120

Let see what it gives

LFD


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote

#5 Old Re: front camera not working on N70 - 2006-11-07, 21:08

Join Date: Oct 2006
Posts: 17
galaktico
Offline
Registered User
setting size=(160,120) Works!!!!!

Thanks a lot
Galaktico!!
Reply With Quote

#6 Old Re: front camera not working on N70 - 2006-11-10, 18:09

Join Date: Dec 2004
Posts: 646
jplauril's Avatar
jplauril
Offline
Forum Nokia Expert
This seems to be a bug. Could you please file it in SourceForge so we remember it? I'd say that's a priority 5 bug.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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 On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokia N-Series Complete Model Line-Up Dopod General Discussion 6 2008-07-22 21:16
N70 CAMERA PROBLEM ahmedksal General Discussion 1 2006-10-28 20:51
Camera capturing 6630 working, 6681 shows blank screen jascco Mobile Java Media (Graphics & Sounds) 2 2006-06-18 15:49
camera zoom and flash control for N70 waqas16 Mobile Java Media (Graphics & Sounds) 2 2006-06-14 01:42
Camera example not working on real phone esanchis General Symbian C++ 1 2003-02-13 14:31

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: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ