Quick Single-Axis Motion Recognition for Android