×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    18

    Captured Video Resolution JSR 234

    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
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Captured Video Resolution JSR 234

    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
    Join Date
    Nov 2009
    Posts
    80

    Re: Captured Video Resolution JSR 234

    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
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Captured Video Resolution JSR 234

    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
  •  
×