Using Accelerometer to play sounds

the code what code that runs. if surely check;

app.android(getfunction(play sound  beat sence shakeOmeter);
-android code-

OK.