In this video it shows how one can capture the touch points of the user on the phone screen and use it to take snippet of the screen as image. For screenshot it uses part of the code shown in the below page:https://programmerworld.co/android/how-to-take-screenshot-from-your-android-11-app/ However, it modifies the code to show…