开发者

Restricting Android camera

Avoiding having to create a whole camera app myself, I am calling up:

Intent camera = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
this.开发者_运维百科startActivityForResult(camera, PICTURE_RESULT);

However, the camera is very advanced and beautiful :) but not for my purposes. :(

Is there a way to restrict the camera to control size, resolution, disable setup button, flash, face recognition, etc...?


Sorry but you will be unable to change all these features using the Intents system. For this level of control you will have to create you own camera program.

http://developer.android.com/reference/android/hardware/Camera.html

You can change the autofocus and flash however using the uses tag in the manifest.xml

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜