It usually helps to tap what you want to focus on first, wait for the focus to lock, then take the picture. You might also want to try out a 3rd party camera app like CameraZoom FX which, among many neat features, has a stability detector that will only take the shot when it detects the phone is still enough.
