Not nearly as bad, for the first one you can try macro mode but it seems like there's something more at play here.
First, make sure your lens is clean. Microfiber cloths are great, not just for lenses but also the glass face and pretty much anything else you want to polish.
There's a lot of noise which indicates a high ISO and you may be in a poorly lighted area, try a few outside in the sunshine if you can. Without light there's no contrast and without contrast the camera can't focus properly. You can also set the flash to always on and see if that fixes things.
When you shoot the picture, do you half-press the shutter and wait for the beep before taking the shot? That means it's focused and ready, I've had so-so results inside when I just push the button down without allowing it to focus.
Finally, try to hold still. A camera is a camera is a camera; the key to good shots with a camera phone are pretty much the same as they are for a $5000 DSLR and proper
handholding technique is important when you have long shutter times (like most indoors shots). Your shots seem to have been for between 1/8 and 1/15 of a second, using a single hand to snap off a shot while your arm is moving would produce pretty poor results at those shutter times while following some of the tips above can help.
Finally, it may just be bad hardware.