×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    1

    camera APIs for native code - sample code doesn't work

    Hi,

    Hi, I tried to run the sample code provided by this post but it raises an InvalidArgumentException as I try to turn on the camera (function OpenForVideoOnlyAsync()). Does anyone know how to solve this problem?

    Thanks,
    Tiffany

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2011
    Location
    la bouexiere, france
    Posts
    474

    Re: camera APIs for native code - sample code doesn't work

    Hi
    You have test with which device?

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2011
    Posts
    79

    Re: camera APIs for native code - sample code doesn't work

    Please, make sure that you have selected proper capabilities in manifest.

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2011
    Location
    la bouexiere, france
    Posts
    474

    Re: camera APIs for native code - sample code doesn't work

    I've test the code on my Luima 920 and i haven't exception. I look quickly the code and i see picture dimension is hard coded. If he doesn't use a Lumia 920, maybe the hard coded dimension is invalid.

Similar Threads

  1. Replies: 3
    Last Post: 2012-11-12, 07:44
  2. Replies: 4
    Last Post: 2011-03-07, 13:40
  3. why does this simple code doesn't work
    By wenn32 in forum Mobile Java General
    Replies: 2
    Last Post: 2011-02-08, 14:43
  4. why doesn't this gps code work?
    By nick_santa83 in forum Symbian
    Replies: 0
    Last Post: 2007-12-09, 19:03
  5. Sample code does'nt work!?
    By gordonjoel in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-10-14, 09:07

Posting Permissions

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