Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User imraniqbal's Avatar
    Join Date
    Sep 2008
    Posts
    18
    Hi,

    can you please tell me how to set the video resolution while capturing using JSR 234.

    Code:
                        CameraControl cc = (CameraControl) p.getControl("CameraControl");
                        
                        int[] videoResol = cc.getSupportedVideoResolutions();
                        
                        
                        cc.setVideoResolution(1);
    Regards,

    Imran

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Which phone are you building your MIDlet for? Note, that no Nokia phones support the camera controls of AMMS...

    In general, you need to provide the desired height and width with the capture locator (the normal MMAPI way)

    Hartti

  3. #3
    Regular Contributor fecxelmin's Avatar
    Join Date
    Nov 2009
    Posts
    80
    Quote Originally Posted by hartti View Post
    Which phone are you building your MIDlet for? Note, that no Nokia phones support the camera controls of AMMS...

    In general, you need to provide the desired height and width with the capture locator (the normal MMAPI way)

    Hartti
    so do you mean the getSupportedVideoResolutions is not usable for any Nokia phones?

  4. #4
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    See AMMS support information in here
    http://wiki.forum.nokia.com/index.ph..._Nokia_devices
    and here
    http://library.forum.nokia.com/

    In most of Nokia phones CameraControl of AMMS API is not supported so CameraControl as well as getSupportedVideoResolutions cannot be used. Series 40 6th Edition phones seem to support that though...

    Hartti

Similar Threads

  1. Image over Video in JSR 234 - EXAMPLE?
    By ninku6a in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2006-03-16, 13:56

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