try {
mPlayer = Manager.createPlayer("capture://video");
mPlayer.realize();

mVideoControl = (VideoControl)mPlayer.getControl("VideoControl");

Item item = (Item)mVideoControl.initDisplayMode(
GUIControl.USE_GUI_PRIMITIVE, null);
form.append(item);
form.addCommand(mBackCommand);
form.addCommand(mCaptureCommand);
form.setCommandListener(this);
mDisplay.setCurrent(form);

mPlayer.start();
}
catch (IOException ioe) { handleException(ioe); }
catch (MediaException me) { handleException(me); }


I use the n97,The following code does not work


videoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
try {
videoControl.setDisplayLocation(2, 2);
videoControl.setDisplaySize(width - 4, height - 4);
}
catch (MediaException me) {
try { videoControl.setDisplayFullScreen(true); }
catch (MediaException me2) {}
}
videoControl.setVisible(true);


my question is how to set the size of video images obtained.The size of the preview video shows



Appreciate your help!!!