|
2011-06-25
, 07:50
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#2
|
|
2011-06-25
, 10:29
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#3
|
This would be great. However, does the digitizer still run even when the screen is powered off?
I assume face-down or shaking would be hang up/reject call. Double-tap while locked would obviously be to either wake the device up and enter the lock screen or to unlock the device to the running app/hildon-desktop.
You know what would be cool? If we put our finger over the proximity sensor while locked, and entered voice commands "call home" "update apt catalogs" "get gps fix" "get system temperature" and the like. We'd instantly bring the N900 straight into 2012.
NOTE: I do not know how to write code. I simply discuss on the forum, and occasionally make UI mockups.
The Following User Says Thank You to joerg_rw For This Useful Post: | ||
|
2011-06-25
, 10:52
|
|
Posts: 800 |
Thanked: 957 times |
Joined on Sep 2010
@ India
|
#4
|
The Following User Says Thank You to ejasmudar For This Useful Post: | ||
|
2011-06-25
, 11:41
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#5
|
Wow! thats a very awesome idea! What about power consumption by such a deamn running full time?
I wish you the very best and lay down before you my tools of beta testing, constructive critisisms and idea-generation, good sir.
Tags |
architecture, daemon, gesture-detect, sysenhancement |
|
[edit]as just turned out the N950 has same accelerometer chip as N900, this probably applies as well to M*6-harmattan and N950 (/N9 ?)
regarding the (double)tap_to_unlock thing:
I suggest to implement this separately in a generic way to have a system wide gesture detection daemon that has
-- configurable *attention*-triggers
. double-tap detected by accelerometer being one of them,
. various elementary gestures like e.g. face-down position or strong shaking another,
. and obviously some users would want button-press as trigger source.
-- Then the gesture-daemon needs some state awareness:
. state_is-locked,
. state_custom-script-returns-zero...
-- and needs to know which programs are in list of running processes aka started (ps ax) and also
-- which program is upfront and visible (or *would* be visible if the current program [lockscreen] vanished, i.e. second on window stack).
Depending on all these conditions met the daemon then starts to watch for certain gestures and does the configured action when sensing one of those gestures (e.g. send a dbus cmd to lockscreen app ::{ activation-trigger+=doubletap(X,1500,50);; conditions: triggerd-by=doubletap, gesture_to_detect=none, program_on_top=lockscreen;; action: cmd=dbus-send lockscreen "unlock"} )
I'd like to discuss the design rationales and architecture more in depth with anybody willing to give this a go
/j
[edit] would integrate like siamese twins with pocketsphinx voice detection as suggested in http://talk.maemo.org/showthread.php...t=pocketsphinx - voice input is "just another gesture" to detect
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member
EX Hildon Foundation approved Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/
IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
Last edited by joerg_rw; 2011-06-25 at 14:00.