Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more

Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more

Nova Launcher Update Brings Lollipop Functionality and Feel

One of the most popular third party launcher on Android, Nova Launcher, has just … more
Post Reply

Gesture Control (root)

OP StupidIdea

10th March 2012, 12:28 AM   |  #1  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,313
 
1,218 posts
Join Date:Joined: Jun 2011
Donate to Me
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
Last edited by StupidIdea; 13th March 2012 at 08:10 AM.
The Following User Says Thank You to StupidIdea For This Useful Post: [ View ]
10th March 2012, 03:48 PM   |  #2  
willverduzco's Avatar
Portal Administrator
n͖̜̺y̥͔̗̝̠̩̜c̖͙͇̲̞
Thanks Meter: 2,869
 
6,370 posts
Join Date:Joined: Apr 2010
This sounds quite awesome. Does this potentially work on all HC tablets, or just the A100 and A500?
10th March 2012, 05:12 PM   |  #3  
Theonew's Avatar
Recognized Contributor
Wherever I am
Thanks Meter: 1,056
 
3,530 posts
Join Date:Joined: Dec 2010
More
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.
10th March 2012, 10:04 PM   |  #4  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,313
 
1,218 posts
Join Date:Joined: Jun 2011
Donate to Me
Quote:
Originally Posted by willverduzco

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?
10th March 2012, 10:54 PM   |  #5  
Theonew's Avatar
Recognized Contributor
Wherever I am
Thanks Meter: 1,056
 
3,530 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by StupidIdea

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: [ View ]
11th March 2012, 12:25 AM   |  #6  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,313
 
1,218 posts
Join Date:Joined: 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.
11th March 2012, 04:23 AM   |  #7  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,313
 
1,218 posts
Join Date:Joined: 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?
11th March 2012, 05:37 AM   |  #8  
Theonew's Avatar
Recognized Contributor
Wherever I am
Thanks Meter: 1,056
 
3,530 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by StupidIdea

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

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.
Last edited by Theonew; 11th March 2012 at 05:46 AM.
11th March 2012, 09:20 PM   |  #9  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,313
 
1,218 posts
Join Date:Joined: Jun 2011
Donate to Me
Quote:
Originally Posted by Theonew

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.
12th March 2012, 02:25 AM   |  #10  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,313
 
1,218 posts
Join Date:Joined: Jun 2011
Donate to Me
New version
1.2.1
- Added check for USB Debugging

Still want to need information in order to fix multitouch. See post above.
Last edited by StupidIdea; 12th March 2012 at 09:23 AM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes