Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,442 Members 40,744 Now Online
XDA Developers Android and Mobile Development Forum

[APP][Experimental] Windows Mobile 7-like gestures

Tip us?
 
Jaxbot
Old
(Last edited by Jaxbot; 28th May 2010 at 12:01 PM.)
#1  
Recognized Developer - OP
Thanks Meter 546
Posts: 1,218
Join Date: Mar 2009

 
DONATE TO ME
Default [APP][Experimental] Windows Mobile 7-like gestures

Hi all.

Highly experimental app I've been working on. It basically uses the accelerometer and ambient light sensor to handle gesture events.

Current features:
- Wave to answer
- Wave to ignore
- Autolock when dark
- Turn to unlock
- Shake to save


It works well on my Fuze, but I'm not sure about other HTC devices.
Also, it needs the .NET Compact Framework.

Any feedback, let me know!

Video: http://www.youtube.com/watch?v=TQBrqpa7_Wg
Download: http://windowsphonehacker.com/files/gesture.CAB
That guy from Windows Phone Hacker, 2009-2013. Retired June 2013.
Personal Blog | Twitter | Youtube
 
megapinky
Old
#2  
Senior Member
Thanks Meter 20
Posts: 196
Join Date: Dec 2007
Location: Morelos
Dont work on HTC Imagio is cause dont have ligth sensor?

great idea
Device: MotoX XT1058
Carrier: Telcel Mexico
 
z_rudy
Old
#3  
Senior Member
Thanks Meter 5
Posts: 309
Join Date: Jun 2005
Very nice idea!
I dont know how to "turn like a key" though
Will post more feedback when I try a phone call.. its 5 AM here now
i-mate PDA2K < HTC TyTN II < HTC Touch HD < HTC HD2 < HTC Titan < Nokia Lumia 920
 
devil_82
Old
#4  
Senior Member
Thanks Meter 1
Posts: 111
Join Date: Oct 2006
very nice application....i saw the video clip...good....is it possible to make the wave and it will activate the speaker mode...this will be a good feature when we're driving..
 
rjmjr69
Old
#5  
rjmjr69's Avatar
Senior Member
Thanks Meter 116
Posts: 1,773
Join Date: Dec 2008
Location: Southie
Thanks will test it out
 
NCHEVYHEVN
Old
#6  
Member
Thanks Meter 0
Posts: 46
Join Date: Oct 2009
Location: Apex
Awsome!

The autolock feature is a bit touchy on my TP2. Even on the less sensative setting it still will autolock on and off. Not a feature I want though so no worries.

Thanks!
 
Jaxbot
Old
#7  
Recognized Developer - OP
Thanks Meter 546
Posts: 1,218
Join Date: Mar 2009

 
DONATE TO ME
Thanks for your feedback, all!
About the speakerphone feature, I have it added in the latest version. If anything comes up that needs fixing, I will add that, but otherwise you should see an update later today
That guy from Windows Phone Hacker, 2009-2013. Retired June 2013.
Personal Blog | Twitter | Youtube
 
kryptech
Old
#8  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Feb 2009
Sorry I never got back to you about the PoC gesture app earlier.

I've just tested out this new experimental app - cool idea!

I was able to get 'Wave to answer' and 'Wave to ignore' going easily enough when the TP was on my desk and on a chair closer to the window. I had to wave a couple times to get the desired response but found that if I move my hand across the light sensor for about .5 seconds around an inch above the phone it was pretty consistent.

I couldn't get the 'AutoLock' working consistently. If I cover the light sensor with a piece of paper or put the top 80% of the phone into a cloth bag it doesn't lock. A few times when I was covering the light sensor with my hand the lock screen flashed up but disappeared again without me having to unlock it.

It took a bit to figure out how to unlock the lock screen but from watching your YouTube video and playing around I can do it easily. It seems best to grab the phone between my thumb and index finger with my thumb on the lock icon (so it is green). Then I flick the bottom end of the phone quickly 90 degrees and back. It is harder to do when holding the right way up - it seems that the bottom end needs to have the motion rather than the top end.

'Shake to Save' is sweet, however, it was inconsistent for me. I'm not sure if there is a particular shaking orientation that works best (it is hard to tell in your video). When it worked it was quick and easy.

At about medium sensitivity the average light sensor reading is around 14 when sitting on my desk on a cloudy day. If I set it on a chair closer to the window I get an average of around 25.

I am using ChangeScreen - a g-sensor orientation flipper: http://forum.xda-developers.com/showthread.php?t=468488 I've set an exception for 'gesture' but it hasn't seemed to helped (well, it does prevent the Gestures app from changing orientation when I tilt/shake the phone).

Nice experiment!
 
Jaxbot
Old
#9  
Recognized Developer - OP
Thanks Meter 546
Posts: 1,218
Join Date: Mar 2009

 
DONATE TO ME
Quote:
Originally Posted by kryptech View Post
Sorry I never got back to you about the PoC gesture app earlier.

I've just tested out this new experimental app - cool idea!

I was able to get 'Wave to answer' and 'Wave to ignore' going easily enough when the TP was on my desk and on a chair closer to the window. I had to wave a couple times to get the desired response but found that if I move my hand across the light sensor for about .5 seconds around an inch above the phone it was pretty consistent.

I couldn't get the 'AutoLock' working consistently. If I cover the light sensor with a piece of paper or put the top 80% of the phone into a cloth bag it doesn't lock. A few times when I was covering the light sensor with my hand the lock screen flashed up but disappeared again without me having to unlock it.

It took a bit to figure out how to unlock the lock screen but from watching your YouTube video and playing around I can do it easily. It seems best to grab the phone between my thumb and index finger with my thumb on the lock icon (so it is green). Then I flick the bottom end of the phone quickly 90 degrees and back. It is harder to do when holding the right way up - it seems that the bottom end needs to have the motion rather than the top end.

'Shake to Save' is sweet, however, it was inconsistent for me. I'm not sure if there is a particular shaking orientation that works best (it is hard to tell in your video). When it worked it was quick and easy.

At about medium sensitivity the average light sensor reading is around 14 when sitting on my desk on a cloudy day. If I set it on a chair closer to the window I get an average of around 25.

I am using ChangeScreen - a g-sensor orientation flipper: http://forum.xda-developers.com/showthread.php?t=468488 I've set an exception for 'gesture' but it hasn't seemed to helped (well, it does prevent the Gestures app from changing orientation when I tilt/shake the phone).

Nice experiment!
Thanks for the feedback.
The sensitivity does not affect how much the light reading is, nor the G-sensor sensitivity. It has more to do with how much of a light change counts as a gesture.

As for shake to save, the program currently uses the Z vector to tell if its shaking. This is pure force (up/down) of the phone, but it's been very hard to activate even for me.
I'm going to switch it to X or Y once I get ready to release the new version, just to make it easier.
That guy from Windows Phone Hacker, 2009-2013. Retired June 2013.
Personal Blog | Twitter | Youtube
 
kryptech
Old
#10  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Feb 2009
Quote:
Originally Posted by Jaxbot View Post
As for shake to save, the program currently uses the Z vector to tell if its shaking. This is pure force (up/down) of the phone, but it's been very hard to activate even for me.
I'm going to switch it to X or Y once I get ready to release the new version, just to make it easier.
I feel silly asking but the Z axis runs along the length of the phone, from the mic end to the speaker end? And the X axis runs from side-to-side, while the Y axis is the thickness (screen-to-back of battery)?

Tags
app, gestures
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Try to Keep Up with Just Swipe Game

Sometimes, the simplest of games are the ones that end up beingthe most addictive and end up consuming … more

MultiROM Ported to the Moto E

Few categoriesof Android development are as intrinsically interestingas the ability to boot into multiple … more

XDA Xposed Tuesday: How to Control Google Play Wake Locks – XDA Developer TV

Xposed Modules are usually pretty simple. There are a few … more

Make Text Entry More Efficient with Macro Text Expansion

One of the best things about the modern day smartphone is its ability to save us … more