欢迎分享,转载请注明来源:内存溢出
//Creates a new Camera object to access a particular hardware cameraCamera camera = Cameraopen() ;//Returns the current settings for this Camera serviceParameters parameters = cameragetParameters();//Sets the dimensions for preview picturesparameterssetPreviewSize(int width, int height) //Sets the dimensions for picturesparameterssetPictureSize(int width, int height) //你先获取一下 你手机支持的分辨率,不然你不好设置你手机支持的最高分辨率//Creates a single string with all the parameters set in this Parameters object //cameragetParameters()flatten(); //return String 你看一下返回的字符串,就可以看到很多手机摄像的很多相关参数了。
赞
(0)
打赏
微信扫一扫
支付宝扫一扫
哪家的游戏云服务器好用啊?求推荐~
上一篇
2023-07-31
安装svn 时候 需要安装服务器吗
下一篇
2023-07-31
评论列表(0条)