add accelerometer in MockApp
Merge pull request #37 from DIdiHL/chenxi

add accelerometer in MockApp