Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User HiFromLeo's Avatar
    Join Date
    Sep 2008
    Posts
    13
    In Nokia 6220 classic, To control shutter speed I want to use setExposureTime()in 'VIDEOS (not in snapshot taking) making'. I added following code in my Midlet
    player.getControl("javax.microedition.media.control.camera.ExposureControl");
    exposure.setExposureTime(14); // Microseconds (1/500th second)
    exposure.setFStop(280);
    exposure.setISO(200);

    But Midlet don't start (at run) in my phone when I try to run/execute this in my phone to make and record vidoes. But when I comment these lines, video making and saving job complete fine.
    Please can U tell me why my MidLet do not run with this code or what I should add more or how I can correct this code.

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    That control is not supported on Nokia phones. See here for suppported parts of the AMMS API
    http://wiki.forum.nokia.com/index.ph..._Nokia_devices

    Hartti

  3. #3
    Registered User HiFromLeo's Avatar
    Join Date
    Sep 2008
    Posts
    13
    Thanks Harrti I appreciate, but please my question is 'what values I should pass/set in the followings functions for my video making required job in Nokia 6220 classic (S60, FP2)':
    exposure.setExposureTime(14); // Microseconds (1/500th second)
    exposure.setFStop(280);
    exposure.setISO(200);

    That is I want replacement of 14 (my favorite #), 280 and 200 values/parameters with appropriate ones to make videos because when I try to run my MidLet with this code it does not 'start' and without this code I make and save videos.

  4. #4
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    You cannnot pass/set any values to those functions on your phone as those parts of the API are not implemented on your phone. That's what my previous answer means.

    Hartti

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved