×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    2

    using secondary camera on an application

    Hi all, I intend to write an application using the secondary camera (well the camera at the front of the phone) I have seen in this forum that is possible to get data (video) from the primary camera, but I have not seen anything about the secondary one, are there already some classes (on java, symbian c++) available for hanlding data from this camera??, I'm a comlpete beginer trying to help two secondary school students, thans to them I'm trying to remove the rust from my brain and trying to get again into programming.

    Thanks for your Help, regards

    Charliebeer

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: using secondary camera on an application

    Charliebeer,

    In Java ME on S60 devices you can use the front camera with capture locator "capture://devcam1"

    Check the MMAPI implementation notes in here
    http://www.forum.nokia.com/document/...opers_Library/

    Hartti

  3. #3
    Registered User
    Join Date
    May 2007
    Posts
    2

    Re: using secondary camera on an application

    Hi Hartti,
    thanks for your prompt answer, it means that there are any classes in Symbian for handling the data from the front camera??? well then I should focus my efforts on Java.

    Regards

    Charliebeer

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: using secondary camera on an application

    Yes, there is Symbian C++ access for the camera as well, I just do not know details about Symbian C++ coding, so I leave the answering to others.

    Hartti

  5. #5
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    Re: using secondary camera on an application

    Hey guys ,
    I have nokia 6500 mobile , i have implemented a camera application which is working for main camera , but i am not able to run secondary (front camera) .
    And i am using sun java wireless tool kit for simulation my program, its running fine for my main (back camera).
    But how can i run my application for the front camera. is there any simulation tool kit to run some sample example code to verify the front secondary camera ?
    Please help me ...

  6. #6
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: using secondary camera on an application

    Hmmm... there are Series 40 phones with 2 cameras also... hmmm.... did not realize that.
    Have you tried with devcam0 and devcam1 (this is used on S60 side)

    Hartti

  7. #7
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    Re: using secondary camera on an application

    hey hartti ,
    yes i tried using player = Manager.createPlayer("capture://devcam0"); & player = Manager.createPlayer("capture://devcam1");

    but its giving an error called javax.microedition.media.MediaException: Illegal locator capture://devcam1
    javax.microedition.media.MediaException: Illegal locator capture://devcam0
    but i dont how to deal with this now ....
    i am using netbeen 6.1 with sun java wireless tool kit .
    the same program is running fine for main camera , when ported on my mobile .
    but after capture://devcam0 its give an error ...
    could pls tell me how to go feature ?

  8. #8
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: using secondary camera on an application

    I went through some internal documentation, and I did not find any reference how to utilize the secondary camera. In fact it was mentioned in one (although not the freshest) document and MMAPI on Series 40 supports capturing stuff from primary camrea only.
    So it seems that you cannot control the secondary camera. Unfortunately.

    Hartti

  9. #9
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    Re: using secondary camera on an application

    hey i understand what u said, but i dont want to capture form the secondary camera i just want secondary camera to activate it thats all.
    Is there any simulator to verify my code before porting it to my mobile , as i do using "sun java wireless tool kit " for the primary camera ?

Similar Threads

  1. Integrating Plugin with Camera Application
    By anbuuu in forum Symbian
    Replies: 6
    Last Post: 2007-02-24, 04:09
  2. Application without icon in application menu
    By iulian_moldovan in forum Symbian
    Replies: 3
    Last Post: 2006-12-14, 09:38
  3. Application calling camera and video recording
    By infosoftin in forum Symbian
    Replies: 3
    Last Post: 2006-06-07, 06:59
  4. About Camera Application
    By Utk in forum Symbian
    Replies: 0
    Last Post: 2004-10-05, 15:21
  5. Integrating with Camera Application
    By anbuuu in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-09-28, 17:25

Posting Permissions

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