Working code

Shake violently and it can begin recording.