Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbankier/tikeyguard-android
Appcelerator/Titanium module to unlock and power on an Android device.
https://github.com/dbankier/tikeyguard-android
Last synced: 2 months ago
JSON representation
Appcelerator/Titanium module to unlock and power on an Android device.
- Host: GitHub
- URL: https://github.com/dbankier/tikeyguard-android
- Owner: dbankier
- License: mit
- Created: 2011-11-23T22:19:19.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-23T22:20:35.000Z (about 13 years ago)
- Last Synced: 2024-08-03T07:02:14.805Z (5 months ago)
- Language: Java
- Homepage:
- Size: 104 KB
- Stars: 13
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
I needed a way of turning on and unlocking the screen of my Android device for an incoming SIP call.
Here is the module.You need to include the module in the tiapp.xml:
com.yydigital.keyguardYou also need to add these permissions:
Then the code is something like this:
var keyguard = require("com.yydigital.keyguard");
To disable the keyguard:
keyguard.disable();To turn on the screen:
keyguard.wakeUp();To enable the keyguard again:
keyguard.enable();