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: about 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-11-15T16:23:37.270Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 104 KB
- Stars: 14
- 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();