Home > Mobile >  In the program using a barrier-free service accessibilityservice, hope to realize screenshot functio
In the program using a barrier-free service accessibilityservice, hope to realize screenshot functio

Time:10-20

In the program using a barrier-free service accessibilityservice, hope to realize screenshot function, how to do?
In addition, the use of the adb command "screencap - p" can also realize the screenshots, but use is not in the program, system program need to make it, there are ways to bypass the restrictions?

CodePudding user response:

There is no way to bypass the system permissions this unless custom roms, but can guide users to add the current program to the barrier-free service list,
In addition, the screenshots don't need this access,

CodePudding user response:

reference response: 1/f, lost summer
there is no way to bypass the system permissions this, unless the custom ROM, but can guide users to add the current program to the barrier-free service list,
In addition, the screenshots don't need this permission,

Screenshots are need system permissions

CodePudding user response:

Don't use system permissions getSystemService (" media_projection "))
  • Related