You can simultaneously charge and record with the camera.  To do this, you can use the supplied USB cable.  Use that to connect your camera to a USB wall charger or auto charger that outputs 5V and 1A.  You cannot record while the camera is connected to a computer.