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 hashes)
Built Distribution
Close
Hashes for AndroidKeepAwake-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c349a83bd62955a70d0a87f86b9a11fcb64a6db4245424c4ab3727206ec0143 |
|
MD5 | 4eaa2aeb71efc15f6453fcee8b0a8e4f |
|
BLAKE2b-256 | 0372282dde4d3699093ff76e60d16a82e898a165de8457bb337c3752f83d13a6 |