Moto手机如何调用摄像头拍照?
RT
player = Manager.createPlayer("capture://video");
player.realize();
videocontrol = (VideoControl) p.getControl("VideoControl");
if (videocontrol != null) {
videocontrol.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
}
在诺基亚上可以调出摄像头来拍照,这段代码在放到Moto E398或是L7上就报错关闭了,
各位大虾,这是什么原因?我该怎么改啊?