Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User kevinpw's Avatar
    Join Date
    Feb 2010
    Posts
    4
    Hello,

    I am using the S40 5th ed FP1 LITE SDK. I copy pasted this sample code and it did not work: http://wiki.forum.nokia.com/index.ph...ots_in_Java_ME


    I debugged it and it is failing at this line:

    Code:
    player = Manager.createPlayer("capture://video");
    The code immediately drops to this exception capture:

    Code:
    catch (MediaException me) {}
    Can anyone help figure out what's wrong?

    Thanks!

  2. #2
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    You might not be able to capture video in the emulator. Try a real phone.

    Graham.

  3. #3
    Registered User kevinpw's Avatar
    Join Date
    Feb 2010
    Posts
    4
    thanks for your reply. unfortunately i don't have an S40 device. furthermore, if i open by emulator by itself, i can use its camera and take a picture as well. so that much i know is working. i don't know why this code is not working though.

  4. #4
    Nokia Developer Moderator r2j7's Avatar
    Join Date
    Aug 2007
    Posts
    1,595
    Hello kevinpw,

    AFAIK no Nokia SDK emulators can be used for taking pictures.

    Alternatively, you could try Forum Nokia's Remote Device Access: http://www.forum.nokia.com/Technolog...Device_Access/

    The Remote Device Access enables accessing to real Symbian devices online via Internet, i.e. those work ok for your code. The use of RDA is free, only Forum Nokia registration for login is required.

    Regards,
    r2j7

  5. #5
    Regular Contributor Enthusiastic's Avatar
    Join Date
    Feb 2010
    Posts
    69
    Hii,

    some of the series 40 doesn't support 'capture://video' protocol. I face this problem on real device.
    then i tried
    Code:
    player = Manager.createPlayer("capture://image");
    which worked for me.

    try with 'capture://image'


    Check this post also



    hope this will help u

    Nikesh~
    Enthusiastic
    Last edited by Enthusiastic; 2010-02-22 at 05:58.

Similar Threads

  1. which phones for laptop
    By dvdljns in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2006-02-14, 12:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved