You Are Here:

Community: Developer Discussion Boards

#1 Old Question Programming to N95´s camera - 2008-04-11, 14:22

Join Date: Apr 2008
Posts: 21
Kaisser
Offline
Registered User
Hi, this is my first post ! :-D

Well, i am programming with Netbeans and i would like..

a) Have N95´s simulator. Where is it?.
b) Save a photo make with the N95.

Someone could help me?

Thanks!!.

bye
Reply With Quote

#2 Old Re: Programming to N95´s camera - 2008-04-12, 01:22

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
For N95 use the S60 3rd Edition FP1 emulator
http://www.forum.nokia.com/info/sw.n..._for_Java.html

You could start from here
http://wiki.forum.nokia.com/index.ph...ots_in_Java_ME

Hartti
Reply With Quote

#3 Old Re: Programming to N95´s camera - 2008-04-14, 09:31

Join Date: Apr 2008
Posts: 21
Kaisser
Offline
Registered User
Hello again.

I can´t simulated the camera with S60 3rd Edition FP1 emulator. I used Sun emulator, but the aspect/image doesn´t is simular to N95, it is a general mobile.

I have used the FP2 emulator but i obtained an excepcion: "javax.microedition.media.MediaException: Not supported locator: capture://video".

Why?

THANKS.

bye.
Reply With Quote

#4 Old Re: Programming to N95´s camera - 2008-04-14, 19:29

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
In the release notes for the S60 SDK it is mentioned that

Quote:
Differences between emulator and S60 devices
--------------------------------------------
- Camera features are not supported.
Hartti
Reply With Quote

#5 Old Re: Programming to N95´s camera - 2008-04-15, 13:00

Join Date: Apr 2008
Posts: 21
Kaisser
Offline
Registered User
ok, I test my code directly in the mobile.

Thanks.
Reply With Quote

#6 Old Re: Programming to N95´s camera - 2008-05-02, 15:23

Join Date: Apr 2008
Posts: 11
Location: Utrecht, The Netherlands
pflammertsma
Offline
Registered User
I'm trying to get oriented capturing the video stream from a N95 camera. Presently, I have no written code, but have seen demonstrations how to access the camera. (For instance, Nokia's Wiki on displaying the camera in Java ME.

This appears to only work for the camera on the back of the phone. However, I would like to capture video from the forward-facing camera (the one typically used for video conferencing).

Is there any way of specifying which camera to capture from?

I'm postponing any implementation for now to see if C++ or Mobile Java is the better approach.

Additionally, I am curious if it is possible to capture from both cameras simultaneously. Any hints are much appreciated!
Last edited by pflammertsma : 2008-05-02 at 15:33. Reason: typo
Reply With Quote

#7 Old Re: Programming to N95´s camera - 2008-05-02, 19:19

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Yep there is a way to specify the camera

"capture://devcam0" is the main camera pointing outwards from the user.

"capture://devcam1" is the secondary camera pointing, for example, towards the user. This locator is supported only if the device has more than one camera.

see here
http://www.forum.nokia.com/document/...A255F3959.html

Hartti
Reply With Quote

#8 Old Re: Programming to N95´s camera - 2008-05-02, 19:19

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
uup... missed your last question.

Capturing both cameras at the same time is not possible with Java ME

Hartti
Reply With Quote

#9 Old Re: Programming to N95´s camera - 2008-05-04, 01:51

Join Date: Apr 2008
Posts: 11
Location: Utrecht, The Netherlands
pflammertsma
Offline
Registered User
Precisely what I was looking for, Hartti, thank you very much!

Quote:
Originally Posted by hartti View Post
Capturing both cameras at the same time is not possible with Java ME
Might you know if this is possible in C++? I don't have a preference in language, but find it important to maximize the possibilities. Is there a benefit in this area of one over the other?
Reply With Quote

#10 Old Re: Programming to N95´s camera - 2008-05-06, 11:40

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
And someone needs to chip in here as I do not know the answer for this Symbian C++ issue...

Hartti
Reply With Quote

#11 Old Re: Programming to N95´s camera - 2008-05-15, 18:28

Join Date: Apr 2008
Posts: 11
Location: Utrecht, The Netherlands
pflammertsma
Offline
Registered User
Thanks so much for the effort!

The Symbian C++ issue was addressed in different thread: unfortunately, capturing video streams simultaneously from multiple sources is not possible on all Nokia models up to and including the N95. No telling if this will change in the future.
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
Python for S60 1.4.0 released jplauril Python 43 2009-05-24 10:22
Nokia N-Series Complete Model Line-Up Dopod General Discussion 6 2008-07-22 21:16
Camera API on Symbian 9.1 (Nokia N80) srigans1 Symbian Media (Graphics & Sounds) 4 2007-10-20 06:31
embedable camera application?? zhengyu97 General Symbian C++ 0 2005-04-22 12:09
3650's camera and bluetooth programming mch14979 General Discussion 0 2004-07-23 12:07

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