Introduction - If you have any usage issues, please Google them yourself
This small example mainly uses the Android part and the Mediaplayer part of the knowledge.
Hand part of the problem, we can be defined in the MotionEvent Code Event to determine the status of the current gesture (press or release, etc.)