// Set the player to the REALIZED state
_player.realize();
// Get the video control
final VideoControl videoControl =
(VideoControl) _player.getControl("VideoControl");
if (videoControl != null) {
// Create the video field as a GUI primitive
_cameraField =
(Field) videoControl.initDisplayMode(
GUIControl.USE_GUI_PRIMITIVE,
"net.rim.device.api.ui.Field");
videoControl.setDisplayFullScreen(true);
videoControl.setVisible(true);
}
// Set the player to the STARTED state
_player.start();
} catch (final Exception e) {