//Creates a new Camera object to access a particular hardware camera. Camera camera = Camera.open() ; //Returns the current settings for this Camera service. Parameters parameters = camera.getParameters(); //Sets the dimensions for preview pictures. parameters.setPreviewSize(int width, int height) //Sets the dimensions for pictures. parameters.setPictureSize(int width, int height) //你先获取一下 你手机支持的分辨率,不然你不好设置你手机支持的最高分辨率 //Creates a single string with all the parameters set in this Parameters object. //camera.getParameters().flatten(); //return String 你看一下返回的字符串,就可以看到很多手机摄像的很多相关参数了。