You Are Here:

Community: Developer Discussion Boards

#1 Old Obtaining FocusControl - 2007-10-30, 17:10

Join Date: Oct 2007
Posts: 10
tziranda
Offline
Registered User
Hi, I am developing a j2me application for Nokia N73 and I am unable to get the FocusControl for the main camera. Here is the snippet I am having trouble with:

PHP Code:
player Manager.createPlayer("capture://video"); 
player.realize();

FocusControl focus = (FocusControl
player.getControl("javax.microedition.amms.control.camera.FocusControl");
if(
focus!=null) {
  
// control the focus
} else {
  
// can't get focus control (always runs this step)

I need to set the camera to Macro mode or equivalent.
Has anyone encountered this kind of problem?
Thank you in advance,
João
Last edited by tziranda : 2007-10-30 at 17:18. Reason: forgot the player bit
Reply With Quote

#2 Old Re: Obtaining FocusControl - 2007-10-30, 17:18

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
FocusControl is part of AMMS API (JSR-234) and that API is not supported on N73. So no access to the focusing functionality of the camera on N73 (nor on any current Nokia phone). Unfortunately

Hartti
Reply With Quote

#3 Old Re: Obtaining FocusControl - 2007-10-30, 17:27

Join Date: Oct 2007
Posts: 10
tziranda
Offline
Registered User
Thank you for the fast reply, best regards,
João
Reply With Quote

#4 Old Re: Obtaining FocusControl - 2007-11-02, 17:40

Join Date: Oct 2007
Posts: 3
gpancier
Offline
Registered User
Hi,

I'm trying to get the same FocusControl and testing in a N95 but I cannot make it work: FocusControl returned object is alway null. Isn't it supposed to work on Nokia N95 (Symbyan 60 3rd sw v12.0.013)?

Is there anyone that was able to get the focus control working on a Nokia N95?

Is it a matter of device? Any other device where focus and macro can be controlled?

Thanks in advance for any help

Gp
Reply With Quote

#5 Old Re: Obtaining FocusControl - 2007-11-02, 18:19

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
The AMMS implementation on N95 does not support the camera controls. So Focus Control does not work on N95 either
http://wiki.forum.nokia.com/index.ph..._Nokia_devices

Hartti
Reply With Quote

#6 Old Arrow Re: Obtaining FocusControl - 2007-11-02, 18:39

Join Date: Oct 2007
Posts: 3
gpancier
Offline
Registered User
Hartti, thanks for the quick reply.

Two more question if you can:
- Once S60 3rd Edition FP2 (currently beta SDK) will be available and stable, will it be possible in some way to upgrade my N95 to support it?


- Based on info got from *#0000#:

V12.0.013
19-06-07
RM-159
Nokia N95(78.01)

Branded TIM (Italy)
Do I have at least S60 3rd Edition FP1?

Thanks a lot for the precious information!
Giuseppe
Reply With Quote

#7 Old Re: Obtaining FocusControl - 2007-11-02, 23:40

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
No, you cannot update the phone firmware from one platform edition/FP to another one.

Yes, N95 is S60 3rd Edition FP1 phone

Hartti
Reply With Quote

#8 Old Re: Obtaining FocusControl - 2007-11-03, 08:35

Join Date: Oct 2007
Posts: 3
gpancier
Offline
Registered User
Thanks a lot
Giuseppe
Reply With Quote

#9 Old Re: Obtaining FocusControl - 2008-11-17, 06:12

Join Date: Nov 2008
Posts: 4
iloveopen
Offline
Registered User
Hi, I am developing a j2me application for Nokia 6210s and I am unable to get the FocusControl. how can i get the FocusConstrol in 6210s platform
Reply With Quote

#10 Old Re: Obtaining FocusControl - 2008-11-17, 20:10

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
It is not supported on 6210. Unfortunately.
So, no can do.

Hartti
Reply With Quote

#11 Old Red face Re: Obtaining FocusControl - 2008-11-18, 14:07

Join Date: May 2008
Posts: 84
Location: Copenhagen, Denmark
Send a message via ICQ to Steel_BRS Send a message via MSN to Steel_BRS
Steel_BRS
Offline
Regular Contributor
Poor Hartti. It's sad you have to apologize every time there is a Camera AMMS question ...
Reply With Quote

#12 Old Re: Obtaining FocusControl - 2008-11-18, 19:58

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Hehheh... Next time I drop that out. Just for you :-)

Hartti
Reply With Quote

#13 Old Re: Obtaining FocusControl - 2009-01-02, 07:18

Join Date: Sep 2007
Posts: 1
stog
Offline
Registered User
Hello,
examining the relevant wiki page (Java ME API support on Nokia devices) I see that all devices supporting JSR-234 have a note "(audio3d & music)". Does that mean that no device is supporting the Camera Controls (and specifically FocusControl)? Is there another resource stating the APIs support in more detail?

thank you in advance!

Stog

ps. Happy new year ;)
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
Obtaining keyPress within Canvas flanagaj Mobile Java General 7 2004-08-10 11:26
Obtaining IP address to 6600 kalgik General Discussion 0 2004-08-09 21:10
Obtaining additional network information drazvan Symbian Tools & SDKs 22 2004-05-10 10:38
Changing and Obtaining Item values of the Setting list leonidf Symbian User Interface 0 2002-07-18 05:10
Obtaining the Cell ID on NOKIA 9210 rt007 General Symbian C++ 0 1970-01-01 02:00

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ