adquirir foto con la camara en el equipo i680
Submitted by jessicaMGR on 12 August, 2010 - 20:16
Printer-friendly version
Send by email
try
{
myPlayer = Manager.createPlayer("capture://video");
myPlayer.realize();
//myVideoControl = (VideoControl)myPlayer.getControl("VideoControl");
myVideoControl = (VideoControl) myPlayer.getControl("VideoControl");
myVideoItem = (Item)myVideoControl.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null);
frmFotoIni.append(myVideoItem);
myVideoControl.setDisplayFullScreen(false); // debe estar eb false
buen dia a todos
Tengo un pequeño problemita con la camara del i680 al capturar la imagen me la distorciona
try
{
myPlayer = Manager.createPlayer("capture://video");
myPlayer.realize();
//myVideoControl = (VideoControl)myPlayer.getControl("VideoControl");
myVideoControl = (VideoControl) myPlayer.getControl("VideoControl");
myVideoItem = (Item)myVideoControl.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null);
frmFotoIni.append(myVideoItem);
myVideoControl.setDisplayFullScreen(false); // debe estar eb false
myPlayer.start();
}
catch (IOException e)
{
e.printStackTrace();
frmCamara.append("IC-IOexception:" + e.toString()+"\n");
}
catch (MediaException e)
{
e.printStackTrace();
frmCamara.append("IC-MediaException:" + e.toString()+"\n");
}
}
Este es el codigo que utilizo espero que alguien me pueda guiar.

Camara i680
hola
Quisiera saber si alguien tendra una respuesta con el problema de la camara del i680.
por su atencion gracias.