5,814,797 Members 51,898 Now Online
XDA Developers Android and Mobile Development Forum

Gesture Control (root)

Tip us?
 
StupidIdea
Old
(Last edited by StupidIdea; 13th March 2012 at 08:10 AM.)
#1  
StupidIdea's Avatar
Recognized Developer - OP
Thanks Meter 1,305
Posts: 1,218
Join Date: Jun 2011

 
DONATE TO ME
Default Gesture Control (root)

I'm developing application that allows you to control tablet with gestures. Root access is needed. Currently it allows to execute following gestures: Back, Home, Show/Hide status bar
Try it out and let me know what you think. What other features or actions would be helpful?

All differences from other devices fixed. Please visit main thread.
http://forum.xda-developers.com/show....php?t=1535740
The Following User Says Thank You to StupidIdea For This Useful Post: [ Click to Expand ]
 
willverduzco
Old
#2  
willverduzco's Avatar
Portal Administrator
Thanks Meter 2,855
Posts: 6,327
Join Date: Apr 2010
Location: n͖̜̺y̥͔̗̝̠̩̜c̖͙͇̲̞

 
DONATE TO ME
This sounds quite awesome. Does this potentially work on all HC tablets, or just the A100 and A500?
Want something on the XDA Portal? Send us a news tip! - [moderate | film | foto | develop]
 
Theonew
Old
#3  
Theonew's Avatar
Recognized Contributor
Thanks Meter 1,056
Posts: 3,530
Join Date: Dec 2010
Location: Wherever I am
This does not work properly. It always says "Root failed" even when I grant it Superuser permissions. The only fully working feature is the "hide status bar" option. This app still seems to have potential though.
 
StupidIdea
Old
#4  
StupidIdea's Avatar
Recognized Developer - OP
Thanks Meter 1,305
Posts: 1,218
Join Date: Jun 2011

 
DONATE TO ME
Quote:
Originally Posted by willverduzco View Post
This sounds quite awesome. Does this potentially work on all HC tablets, or just the A100 and A500?
Potentially it works on all tablets, I just need a little bit of information. It even works on my SGS2 phone when I build it with decreased SDK requirements.

Could anyone test version (updated) from first post and send me logcat?
 
Theonew
Old
#5  
Theonew's Avatar
Recognized Contributor
Thanks Meter 1,056
Posts: 3,530
Join Date: Dec 2010
Location: Wherever I am
Quote:
Originally Posted by StupidIdea View Post
Could anyone test version (updated) from first post and send me logcat?
Tested - It still does not work properly. Logcat attached.
Attached Files
File Type: txt alogcat.2012-03-10-17-40-34-0500.txt - [Click for QR Code] (81.3 KB, 4 views)
The Following User Says Thank You to Theonew For This Useful Post: [ Click to Expand ]
 
StupidIdea
Old
#6  
StupidIdea's Avatar
Recognized Developer - OP
Thanks Meter 1,305
Posts: 1,218
Join Date: Jun 2011

 
DONATE TO ME
Thanks, that explains the problem. I don't recognize multitouch properly on this device. Could you execute
from shell
su -c "getevent"

or from adb that would be
adb shell su -c "getevent"

make a few multitouch and send me output.
 
StupidIdea
Old
#7  
StupidIdea's Avatar
Recognized Developer - OP
Thanks Meter 1,305
Posts: 1,218
Join Date: Jun 2011

 
DONATE TO ME
Added single touch option. Multitouch gestures not supported on this device at the moment.
Can anyone confirm that singletouch gestures are working on A100?
 
Theonew
Old
(Last edited by Theonew; 11th March 2012 at 05:46 AM.)
#8  
Theonew's Avatar
Recognized Contributor
Thanks Meter 1,056
Posts: 3,530
Join Date: Dec 2010
Location: Wherever I am
Quote:
Originally Posted by StupidIdea View Post
Added single touch option. Multitouch gestures not supported on this device at the moment.
Can anyone confirm that singletouch gestures are working on A100?
I'll give it a try .

EDIT: Single touch gestures work perfectly .

Quote:
Originally Posted by StupidIdea View Post
What other features or actions would be helpful?
You could add a gesture to disable the backlight (turn off screen). You could also add gestures to open certain apps (like browser, etc.) and possibly make them configurable.
 
StupidIdea
Old
#9  
StupidIdea's Avatar
Recognized Developer - OP
Thanks Meter 1,305
Posts: 1,218
Join Date: Jun 2011

 
DONATE TO ME
Quote:
Originally Posted by Theonew View Post
I'll give it a try .
EDIT: Single touch gestures work perfectly .
Good. Still need to investigate where multi touch disappeared.

Could you execute
from shell
su -c "getevent"

or from adb that would be
adb shell su -c "getevent"

make a few multitouch and send me output.
 
StupidIdea
Old
(Last edited by StupidIdea; 12th March 2012 at 09:23 AM.)
#10  
StupidIdea's Avatar
Recognized Developer - OP
Thanks Meter 1,305
Posts: 1,218
Join Date: Jun 2011

 
DONATE TO ME
Default New version

1.2.1
- Added check for USB Debugging

Still want to need information in order to fix multitouch. See post above.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Google Play Store to Show Price Ranges for In-App Purchases

Google recently announced a change to Google Play Store policy that requires … more

XDA Xposed Tuesday: How to Shut Up Your Phone – XDA Developer TV

So many different applications want to send us notifications that … more

Add Some Power to First Generation Snapdragon CPUs

Some older devices still remain very popular. Phones like theHTC Desire, Sony Ericsson … more

Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more