×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    5

    [moved] Using front n rear camera simaltaneously

    I am using c6-00 n preparing application in j2me for capturing images.
    It is working fine individually for front camera as well as rear camera however i want to use both the cameras simultaneously. First the front camera and then appending it rear camera should appear. I am getting error at mPlayer1.realize(). Here's the code. can anybody help?

    try {
    mPlayer = Manager.createPlayer("capture://devcam0");
    mPlayer.realize();
    mVideoControl = (VideoControl) mPlayer.getControl("VideoControl");
    video = (Item) mVideoControl.initDisplayMode(mVideoControl.USE_GUI_PRIMITIVE, null);
    frmDisplayImage.append(video);
    mVideoControl.setVisible(true);
    display.setCurrent(frmDisplayImage);

    mPlayer.start();
    } catch (Exception e) {
    Alert a = new Alert("Error0:", e.toString(), null, null);
    a.setTimeout(Alert.FOREVER);
    display.setCurrent(a, frmMain);
    }
    try {
    mPlayer1 = Manager.createPlayer("capture://devcam1");
    mPlayer1.realize();
    mVideoControl1 = (VideoControl) mPlayer1.getControl("VideoControl");
    video1 = (Item) mVideoControl1.initDisplayMode(mVideoControl1.USE_GUI_PRIMITIVE, null);
    frmDisplayImage.append(video1);
    mVideoControl1.setVisible(true);
    display.setCurrent(frmDisplayImage);
    mPlayer1.prefetch();
    mPlayer1.start();
    } catch (Exception e) {
    Alert a = new Alert("Error1:", e.toString(), null, null);
    a.setTimeout(Alert.FOREVER);
    display.setCurrent(a, frmMain);
    }

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Using front n rear camera simaltaneously

    Not sure about the C6, but on older devices it is a hardware limitation.

Similar Threads

  1. 5800 front camera problem after 40.0.005 update
    By slcmondo in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2010-02-19, 22:43
  2. Front camera supported sizes
    By fedepaol in forum Symbian
    Replies: 2
    Last Post: 2009-03-30, 15:40
  3. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  4. N73 front camera access
    By dudi in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-04-05, 16:42

Posting Permissions

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