You tried and experimented with the app, so you probably already figured this out.
when phone is tilted LEFT (red) x axis acceleration is providing negative values.
when phone is tilted RIGHT (green) x axis acceleration is providing positive values
when phone top is tilted up (light red) y axis acceleration is providing positive values
-when the phone phone top is tilted down (cyan) y axis acceleration is providing negative values.
when no markers are shown the phone is probably resting on a table top (the triggering acceleration is not in the range programed).
both Right and Tilt Up or down and Left and Tilt Up or down display simultaneously when the accelerometer recognizes both x and y acceleration positive or negative values at the same time. Notice that the two sound files play together when this happens.
Can we merge orientation sensor as well, so it may be possible to distinguish the movement value of accelerometer from tilt value.
ie, If 'orientation sensor & Accelerometer sensor' = LEFT, then the exceeded accelerometer value is Movement value/acceleration value. ie, both sensors may match in showing the position/tilt of the phone but accelerometer shows extra value, that is what 'Acceleration Value'. I am speaking in imagination but it may be possible?.
So, HOW CAN WE MODIFY THE SAME APP (AccelerometerAlarm) to say left, right etc. for orientation sensor as well.
Probably because you do not use the components simultaneously in your example. Your Clock allows your app to share accelerator hardware use evidently by enabling/disabling the Clock.. My guess is this works but not very well. If it works for your app, rejoice.