开发者

stop android default camera

I am developing an application in which I have to block android default camera to take picture on pa开发者_StackOverflowrticular place(on particular latitude and longitude ).Has anyone do it eariler,help me. Thanks in advance for the help


Look here:

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

if you instantiate the camera then no other applications can use it until you release it, so just instantiate the cam when in the "red-zone" and release it again when in the "green-zone".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜