I have an application which opens a camera and it is working fine. I have push my application background and I tried to open the default camera application , where my application crashes.
I would like to know whether I can lock the camera resource which will stop other application / process from using it. There is a API in android which has a lock feature which will prevent the other process from using it.