Keep you Android device awake when your application is running.
Project description
AndroidKeepAwake
Keep your Android device awake when running Kivy Apps
Example usage
class Screen1(Screen):
def __init__(self, **kw):
super().__init__(**kw)
self.myApp = AndroidKeepAwake()
def on_enter(self):
# Turn on AndroidKeepAwake on Enter
self.myApp.android_setflag()
def on_leave(self, *args):
# Turn off AndroidKeepAwake on Leave
self.myApp.android_clearflag()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AndroidKeepAwake-1.1.tar.gz
(3.0 kB
view details)
Built Distribution
File details
Details for the file AndroidKeepAwake-1.1.tar.gz
.
File metadata
- Download URL: AndroidKeepAwake-1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76a621571f294e82e055c9ad22bbc1264a5a827a8666f89567fec7debd857419 |
|
MD5 | 13e778668bbd3d122572c99b41591c03 |
|
BLAKE2b-256 | d8eba1adc0d46aad12f2ffc73e4450ff638b2b466d8ad751d3f783de6189b34b |
File details
Details for the file AndroidKeepAwake-1.1-py3-none-any.whl
.
File metadata
- Download URL: AndroidKeepAwake-1.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c349a83bd62955a70d0a87f86b9a11fcb64a6db4245424c4ab3727206ec0143 |
|
MD5 | 4eaa2aeb71efc15f6453fcee8b0a8e4f |
|
BLAKE2b-256 | 0372282dde4d3699093ff76e60d16a82e898a165de8457bb337c3752f83d13a6 |