Namespaces
Variants
Actions

How to set resoultion of snapshot taken

Jump to: navigation, search
SignpostIcon FilmReel 52.png
Article Metadata

Article
Created: senthilat (30 Jun 2007)
Last edited: hamishwillee (18 Jul 2012)

//You can list the supported resolutions by:

int []supportedRes = cameraControl.getSupportedStillResolutions();

/* the list will be like this and you have to take the index of this as shown

[480, 640, 960, 1280, 1224, 1632, 1500, 2000, 1536, 2048]

index:

0 - 640x480

1 - 1280x960

2 - 1632x1224

3 - 2000x1500

4 - 2048x1536

  • /
cameraControl = (CameraControl)player.getControl("CameraControl");
 
cameraControl.setStillResolution(1);
This page was last modified on 18 July 2012, at 13:35.
110 page views in the last 30 days.
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