Screen Capture permanent Permission

Every time you want to take a screenshot with Screenshot Touch. You have to manually accept an Android system prompt. To avoid that you can run a one-time ADB command from your PC and allow Screenshot Touch forever!

ADB Setup

Screenshot Touch needs to run some ADB commands on your device through your PC. Make sure that Screenshot Touch is installed on your Android device

  1. Enable Developer Mode: Go to Android Settings -> About Phone and look for the Build Number option. Touch it multiple times until developer mode is enabled. (Google search: How to enable developer mode)
  2. Enable USB Debugging: Go to Android Settings -> and look for the Developer Options option. In there, enable the USB debugging option.
  3. Install ADB on your PC:  Google search: How to install adb tool.
  4. Connect device to PC: Connect your device to a PC and look on your phone. A prompt should show up asking you to allow your phone to be debugged by your PC. Accept this.
  5. Open the command prompt from the file folder that contains the extracted downloads. To do this, press the windows key and type cmd. When the prompt opens, type cd followed by folder your downloaded ADB to.
  6. Grant permission: Open a command line a on your PC and write the needed commands (one at a time)

Notes:

  • On MIUI devices you may have to open developer options and enable the USB debugging (Security Settings) setting (and the Disable permission Monitoring setting in some cases) to be able to run the above command.
  • If you’re having trouble with it saying that your device is not authorized, please check here.

Use these commands:

adb shell appops set com.mdiwebma.screenshot PROJECT_MEDIA allow

If you're on a mac write

./adb shell appops set com.mdiwebma.screenshot PROJECT_MEDIA allow

Command execution screen

If your PC and phone are successfully connected via USB, you can see one connected device with the “adb devices” command.