Got sample code working

This works on my phone, at least (I'd just forgotten to put the API key
in the manifest, apparently)