×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    10

    Obtaining FocusControl

    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 16:18. Reason: forgot the player bit

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

    Re: Obtaining FocusControl

    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

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    10

    Re: Obtaining FocusControl

    Thank you for the fast reply, best regards,
    João

  4. #4
    Registered User
    Join Date
    Oct 2007
    Posts
    3

    Re: Obtaining FocusControl

    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

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

    Re: Obtaining FocusControl

    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

  6. #6
    Registered User
    Join Date
    Oct 2007
    Posts
    3

    Arrow Re: Obtaining FocusControl

    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

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

    Re: Obtaining FocusControl

    No, you cannot update the phone firmware from one platform edition/FP to another one.

    Yes, N95 is S60 3rd Edition FP1 phone

    Hartti

  8. #8
    Registered User
    Join Date
    Oct 2007
    Posts
    3

    Re: Obtaining FocusControl

    Thanks a lot
    Giuseppe

  9. #9
    Registered User
    Join Date
    Nov 2008
    Posts
    4

    Re: Obtaining FocusControl

    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

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

    Re: Obtaining FocusControl

    It is not supported on 6210. Unfortunately.
    So, no can do.

    Hartti

  11. #11
    Regular Contributor
    Join Date
    May 2008
    Location
    Copenhagen, Denmark
    Posts
    84

    Red face Re: Obtaining FocusControl

    Poor Hartti. It's sad you have to apologize every time there is a Camera AMMS question ...

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

    Re: Obtaining FocusControl

    Hehheh... Next time I drop that out. Just for you :-)

    Hartti

  13. #13
    Registered User
    Join Date
    Sep 2007
    Posts
    1

    Re: Obtaining FocusControl

    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

Similar Threads

  1. Obtaining keyPress within Canvas
    By flanagaj in forum Mobile Java General
    Replies: 7
    Last Post: 2004-08-10, 10:26
  2. Obtaining IP address to 6600
    By kalgik in forum General Development Questions
    Replies: 0
    Last Post: 2004-08-09, 20:10
  3. Obtaining additional network information
    By drazvan in forum Symbian Tools & SDKs
    Replies: 22
    Last Post: 2004-05-10, 09:38
  4. Changing and Obtaining Item values of the Setting list
    By leonidf in forum Symbian User Interface
    Replies: 0
    Last Post: 2002-07-18, 04:10
  5. Obtaining the Cell ID on NOKIA 9210
    By rt007 in forum Symbian
    Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

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