1. get frames from camera
2. draw frames one by one
For example:
BufferedImage image = ImageIO.read( new ByteArrayInputStream(camera_frame));
public void paint(Graphics g) {
g.drawImage(image , 0, 0, null);
}
You can also read the article
Making Android Smart Phone a Remote IP Camera[
^]