stackoverflow에 카메라를 disable시키는 방법을 검색해보니 이런 답변이 있더군요
The OP is asking for any ideas, I got one idea and it could possibly work even without using the API provided by ICS.
for lower API version than ICS, you can Start a service that will lock the Camera when the screen is On and Release it when the Screen is Off. This is to minimize the usage of battery.
Since, only one process can use the Camera at a time, other applications like the Camera App will not be able to use the Camera.
The challenge now is how to ensure that the Service Hogging the Camera is always Running and prevent it from being uninstalled by the user.
Well, just a thought ;)
영어에 약해서.. 구글번역에 돌려보면 카메라를 한 앱에서 사용중이면 다른앱에선 못사용한다.. 이런방법으로 카메라사용을 막을 수 있다? 이런뜻이지요?
밑에 질문글에서 답변달아주신 분의 조언과 비슷한 방법인것 같습니다.
근데 이 내용에 의하면 제가 카메라어플1을 키고, 다른 카메라어플2을 키면 정상적으로 실행이 안되야하는거 아닌가요?
실험해본결과 잘됩니다..ㅠㅠ 어떻게 접근해야할지.. 조언부탁드립니다..
아 참고로 DevicePolicyManager의 관리자권한을 받지않고 카메라를 disable시키는 방법을 찾고 있는겁니다..ㅠ