My iPhone 4 camera won't work?

My iPhone 4 camera won't open at all? I press the camera and it freezes on the grey spiral looking thing or sometimes it opens but the screen is all black. I know it's not my lense because it works once in a blue moon.
I tried turning the power off and back on but it won't work, I even deleted some photos but it still won't work. I don't want to restore my phone and delete everything. Any ideas?

The only way you have is restoring it sorry.

How about you instal a camera app, their are a lot of um on the app store.
Not sure if it will work.
Hope i was of assistance.
Best of luck!
XOXO
Julia

From what you have I can assume that you jailbroke your iPhone which means a big chance is that it is the reason why you are having this problem. In any case, deleting photos won't help so don't do that and lose photos and not opening your camera for a long time doesn't affect the phone, so those are all pointless tries. I'd recommend restoring it but don't worry you can back up everything and restore everything, or if you are not sure if you are going to do it correctly visit an Apple store and they will help you wth the restore process, they won't charge you btw: p they will jsut restore the device.

Iphone won't connect to itunes?