Do you know Cerberus? (Search in Play Store)
It's a security anti-theft app.
This program have a command "take picture" to do the same in order to recognize the thief. I'm having problemas with this command (and "record audio" too), I send command to take picture then the application send the picture from my e-mail, however the picture arrive with error (file size is 2 bytes). I contacted developer of app, and he conducted tests with me, his concluison is that maybe camera driver is not working fine.
I'm using Hydrigenics rom, ever last version!
Can you help us?