Just some Location AcitvityRec sample code.