×
Namespaces

Variants
Actions
Revision as of 08:56, 8 June 2009 by tanjaluodes (Talk | contribs)

How to set the resolution of a camera snapshot

From Nokia Developer Wiki
Jump to: navigation, search


//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);
61 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×