Camera [Q] main camera not saving pics

im using dell streak 5 build no.15274 currently running on adroid froyo 2.2.2. there seems to be a problem with my main camea. the video mode and the secondary camera are working fine,but the main camera when it is used for taking pics jus doesnt save pics when i click and the screen blacks,the onscreen camera controls are rendered useless, i tried factory resetting twice but the problem is persisting. the phone has not been rooted in anyway. help please.