An open API service indexing awesome lists of open source software.

https://github.com/rascarlo/PowerButtonTile

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).
https://github.com/rascarlo/PowerButtonTile

android android-10 android-7 android-8 android-9 android-nougat android-oreo android-pie android-q android-quicksettings androidx

Last synced: 8 months ago
JSON representation

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).

Awesome Lists containing this project

README

          

# 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


- Accessibility service: https://developer.android.com/reference/android/accessibilityservice/AccessibilityService
- Tile: https://developer.android.com/reference/android/service/quicksettings/Tile
- TileService: https://developer.android.com/reference/android/service/quicksettings/TileService