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".
精彩评论