iPhone Help!

Ok, so i just bought the 2 year service plan for my iPhone and now after I unlocked and restored my phone the camera doesn't work. Everytime I select it it just goes back to the homescreen. This is also what happens when I select photos. I restored it but will Apple be able to tell that I jailbroke it and will my warranty cover it?

if "unlocked" means jailbroken to you, then you can restore it and return it. if you mean "unlocked" as in you can use with different carriers, you need to virginize the baseband. but i dont think you mean the 2nd thing i mentioned. you're good to go, return the iphone.