shake detect example app

with callback