×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    8

    Problems with flash on Nokia N82

    Hello all!
    Well, I just wanted to make a little joke program that activates the flash in the Nokia N82 every few seconds to annoy people a bit... Here's the code:

    import camera
    from time import sleep
    while True:
    camera.take_photo(flash = "forced")
    sleep(4)
    However, when running this scrippt I always get the following error:
    File "c:\resource\camera.py", line 101, in take_photo
    position))
    Symbian error: [Errno -2]
    KErrGeneral
    Does anyone know why this is coming? Thanks!
    Robin

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Problems with flash on Nokia N82

    Quote Originally Posted by robin24 View Post
    Hello all!
    import camera
    from time import sleep
    while True:
    camera.take_photo(flash = "forced")
    sleep(4)
    Robin
    hi robin
    this is strange i treid the same code in my N70 and it is working fine and please make a note that next time you post the code please use the qoutes available.
    thanks do give a feedback

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Wink Re: Problems with flash on Nokia N82

    Quote Originally Posted by gaba88 View Post
    ...please make a note that next time you post the code please use the qoutes available...
    Use CODE tag instead as [CODE] your code [/CODE ] (removing last space) would be more appropriate.

    Kiran.
    Nokia Developer Wiki Moderation team

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Problems with flash on Nokia N82

    hi kiran thanks for the correction

  5. #5
    Registered User
    Join Date
    May 2008
    Posts
    8

    Re: Problems with flash on Nokia N82

    Hi,
    well, it still doesn't work on my N82... Are there incompatibilities with the Camera module on the N82?
    Robin

  6. #6
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Problems with flash on Nokia N82

    Quote Originally Posted by robin24 View Post
    Hi,
    well, it still doesn't work on my N82... Are there incompatibilities with the Camera module on the N82?
    Robin
    The camera module is the same for the same version of PyS60, regardless of the phone it is installed on. The only difference is the hardware but that shouldn't matter. See this thread where someone had pretty much the same problem, but apparently the solution wasn't found.

  7. #7
    Registered User
    Join Date
    May 2008
    Posts
    8

    Re: Problems with flash on Nokia N82

    Hi,
    I now tried several things and also tried taking a photo with he Camera application. I figured out that the camera must be damaged, which is the reason why I really hate Nokia right now!!!... Sorry, but I'm rally pissed at the moment, it'll probably takea few weeks until my phone is repaired.
    Robin24

Similar Threads

  1. Infra-red capability
    By Symbian_Challenge_0412 in forum General Development Questions
    Replies: 1
    Last Post: 2005-08-16, 18:24
  2. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50

Posting Permissions

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