You Are Here:

Community: Developer Discussion Boards

#1 Old using secondary camera on an application - 2007-05-02, 11:10

Join Date: May 2007
Posts: 2
Charliebeer
Offline
Registered User
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
Reply With Quote

#2 Old Re: using secondary camera on an application - 2007-05-02, 17:40

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#3 Old Re: using secondary camera on an application - 2007-05-03, 09:05

Join Date: May 2007
Posts: 2
Charliebeer
Offline
Registered User
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
Reply With Quote

#4 Old Re: using secondary camera on an application - 2007-05-03, 09:49

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#5 Old Re: using secondary camera on an application - 2008-09-19, 20:56

Join Date: Sep 2008
Posts: 16
tdingu
Offline
Registered User
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 ...
Reply With Quote

#6 Old Re: using secondary camera on an application - 2008-09-19, 21:03

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#7 Old Re: using secondary camera on an application - 2008-09-19, 21:32

Join Date: Sep 2008
Posts: 16
tdingu
Offline
Registered User
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 ?
Reply With Quote

#8 Old Re: using secondary camera on an application - 2008-09-20, 00:56

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#9 Old Re: using secondary camera on an application - 2008-09-21, 17:22

Join Date: Sep 2008
Posts: 16
tdingu
Offline
Registered User
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 ?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrating Plugin with Camera Application anbuuu General Symbian C++ 6 2007-02-24 05:09
Application without icon in application menu iulian_moldovan General Symbian C++ 3 2006-12-14 10:38
Application calling camera and video recording infosoftin General Symbian C++ 3 2006-06-07 07:59
About Camera Application Utk General Symbian C++ 0 2004-10-05 16:21
Integrating with Camera Application anbuuu Symbian User Interface 1 2004-09-28 18:25

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia