Samsung Begins Production of 8 Gb RAM Chips

With the release of Android 5.0, our favorite mobile operating system has become 64-bit ready. … more

CM, Micromax and OnePlus – Sales Ban Lifted

It’s less than a week since our recent in-depth analysis of the legal battle over the … more

The History of Flagships: Part I – Sony

Every OEM aspiring to conquer the mobile world undoubtedly releases its take on the so-called … more

XDA & New Relic Performance Monitoring [Sponsored]

In other posts we’ve raved about New Relic Mobile for monitoring performance of our … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Gesture Control (root)

OP StupidIdea

10th March 2012, 01:28 AM   |  #1  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,352
 
1,243 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 09:10 AM.
The Following User Says Thank You to StupidIdea For This Useful Post: [ View ]
10th March 2012, 04:48 PM   |  #2  
willverduzco's Avatar
Portal Administrator
n͖̜̺y̥͔̗̝̠̩̜c̖͙͇̲̞
Thanks Meter: 2,898
 
6,423 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, 06:12 PM   |  #3  
Theonew's Avatar
Recognized Contributor
Wherever I am
Thanks Meter: 1,057
 
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, 11:04 PM   |  #4  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,352
 
1,243 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, 11:54 PM   |  #5  
Theonew's Avatar
Recognized Contributor
Wherever I am
Thanks Meter: 1,057
 
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, 6 views)
The Following User Says Thank You to Theonew For This Useful Post: [ View ]
11th March 2012, 01:25 AM   |  #6  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,352
 
1,243 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, 05:23 AM   |  #7  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,352
 
1,243 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, 06:37 AM   |  #8  
Theonew's Avatar
Recognized Contributor
Wherever I am
Thanks Meter: 1,057
 
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 06:46 AM.
11th March 2012, 10:20 PM   |  #9  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,352
 
1,243 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, 03:25 AM   |  #10  
StupidIdea's Avatar
OP Recognized Developer
Thanks Meter: 1,352
 
1,243 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 10:23 AM.

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

Advanced Search
Display Modes