View Single Post
Posts: 134 | Thanked: 41 times | Joined on Mar 2010
#18
unlock code is there too, all we need is a small app that can listen if phone shake happened;
check if device locked then unlock it
Code:
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"unlocked"
if device is unlocked then lock it
Code:
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"
of course there should be a "stop listening" period after each lock/unlock.

any developer?
 

The Following User Says Thank You to dana.s For This Useful Post: