Possible duplicate:Android App Lock Camera
You can check if the camera is being used. But can we get information about which application uses it?
No. There is no standard API for this. You will need root privileges to try something like this. You can check the implementation of the CyanogenMod service that controls this here:
CameraService.cpp