i went from a 3GS to a HTC Inspire 4G. my new phone has a 8MP camera, but i swear the camera was better on my 3GS. with the iOS 4 update it focused and took pictures a lot faster. a good picture on my phone will beat the iphone, but if you're trying to take pictures of kids while they are moving it was easier with the iphone.
but i like the huge screen and the $20 price
My wifes on Sprint, she has an Evo 4G with an 8 MP camera and she's always complaining about the poor quality pictures. It's hard to beat the iphone - any iphone when it comes to picture quality.