Skip to content

Android app that makes use of the accessibility service to provide quick settings tiles to perform global actions: screenshot (API level 28), sleep (API level 28) and system power dialog (API level 21).

License

rascarlo/PowerButtonTile

Repository files navigation

PowerButtonTile

Simple application to add up to 3 quick settings tiles to the quick settings layout.

The app makes use of the accessibility service to provide quick settings tiles to perform global actions: screenshot (API level 28), sleep (API level 28) and system power dialog (API level 21).

System power dialog (GLOBAL_ACTION_POWER_DIALOG) has been added in API level 21 (https://developer.android.com/reference/android/accessibilityservice/AccessibilityService#GLOBAL_ACTION_POWER_DIALOG).

Sleep (GLOBAL_ACTION_LOCK_SCREEN) has been added in API level 28 (https://developer.android.com/reference/android/accessibilityservice/AccessibilityService#GLOBAL_ACTION_LOCK_SCREEN).

Screenshot (GLOBAL_ACTION_TAKE_SCREENSHOT) has been added in API level 28 (https://developer.android.com/reference/android/accessibilityservice/AccessibilityService#GLOBAL_ACTION_TAKE_SCREENSHOT).


Screenshots


Android Developers Documentation

About

Android app that makes use of the accessibility service to provide quick settings tiles to perform global actions: screenshot (API level 28), sleep (API level 28) and system power dialog (API level 21).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages