------------------------------------ 以上任一種方法完成後,先存檔(點擊 Done, Apply 先讓tasker存起來) 然後再次開啟 tasker, 打開剛剛的任務,點擊 test,過幾秒後,會問你 if the command can run as su (super user). 勾選 always allow 並點擊 allow
First off, it's important to know that Tasker only records the particular points (which we'll call inflection points) of a gesture that you tell it to. For example, recording a gesture involving tilting the phone to the left and back you would record three inflection points: the start, the tilted left position, and the end (which is the same as the start in this case). You can record as many points as you like, but in general it's best to record only the points where the phone is not moving.
Recognized Movements
Tasker will only recognize changes in the angle of the phone i.e. tilting to left or right, backwards or forwards, or rotating vertically. Imagine three poles going through the device in the three dimensions. Moving the phone backwards or forwards, up or down or side to side cannot be recognized.