Hi and thanks for using JustAnswer. My name is XXXXX XXXXX I will gladly help you find the answers you need.
If it is a software issue with the camera, lets try this. Remove the battery from the phone for two minutes. Replace it and repower the device. Please try and now take a picture and let me know what happens.
A hard reset(removing the battery), clears almost 99% of all software related issues.
If you would like to here is a link to a short picture guide on how to remove the battery. Its very simple, two screws and it comes right out.
The only other option is to perform a factory reset of the device to return it to the original state it was on the first time you turned it on.
I would recommend the battery first as this would be the best way and also ensure you don't lose any data during a factory reset.
Unfortunately when it comes to glitches in the kernels of the operating system on smart phones, there are few choices.
Nothing else you can do when it comes to these sorts of issues.
If you wish to credit me for the time in assisting you, please click the green accept button.