[Android Software Development] ssspeq:
Check out main thread here:

http://xdaforums.com/showthread.php?t=1803902

# What it does #

Basically what it does is it makes it possible to launch androids taskswitcher (recent apps) or call another action such as home, back, menu or turn screen off by waving your finger past the proximity sensor. You can also set an action to run when your proximity sensor is covered. With a little practice this really makes multitasking much faster. There is now also actions for media like volume, play pause and such, aswell as a flashlight (only tested on galaxy note, probably wont work on all devices) The media-actions are not properly implemented yet, so all actions may not work on all devices. If media controls is what you really want, I think wave control is your app. They have media controls implemented properly.

There is now some other features aswell.

Smart keep screen on will keep your screen on as long as you hold the phone in your hand. When you put it down, it will let the screen go off. I have only tested it on a galaxy note. Feedback on this would be welcomed.

You can now also run an action to keep the screen on permanently, or atleast until you run the action again.

Feel free to try it out.

# Instructions #

Configure actions for each number of waves up to six. The action you choose will then be executed when you wave.

You can also configure an action to launch when you cover your proximity sensor and for when the device is shaken.

If you have trouble with the gestures and smartswitcher recognizes the wrong gesture, you can adjust the gesture sensitivity. If you put this on low, the response and gesture recognition will be fast, but you will have to wave fast also. On high, the opposite is true. If you are not Lucky Luke like me, medium or high should work.

# Planned features #

Suggestions, anyone?

# Known issues #

FIXED?

Sometimes Smartswitcher does not get superuser permissions at first try, if you are rooted and you are sure it should work on your device, this may be the problem. I am not sure why this is as it has never happened to me, but a few users have reported that installing it again or using supersu fixes the problem. Will try to get this fixed.

# Other #

The powerconsumption of the proximity sensor is extremely low so the impact on your battery should be fairly low. Did anyone using this notice a reduction of battery life, and I mean that in a more scientific way than just checking under battery in your system settings? Was it 5 minutes or 1 hour?

If you dont have root or smartswitcher wont work, please buy the excellent app wave control. (Or if you simply like it better)

Zenblom made a video of smartswitcher:

[YOUTUBE]gsIFtIxhD1g[/YOUTUBE]

He also compiled a list on working devices:

# Confirmed working devices #

- Samsung Galaxy Note GT-N7000

- Samsung galaxy s3 i9300 international version

- Samsung Galaxy Tab 7.7 P6800

- Sony Ericsson xperia neo v

Thanks Zenblom!

# Changelog #

Version 1.1.3

- Added action keep device alive. If you run this, your device will not sleep until next time you run it, period. It wont activate if the device is already being kept awake by the smart keep screen on function, have not tested this very carefully. If you feel a burst of short vibrations, the device is being kept awake. If you use this, dont forget to turn it off, or it will drain your battery.

- Adjusted the shakedetection. It should now work much better and should notmake doubleactions. Try it and tell me if it is better or worse.

- Adjusted the smart keep screen on function to a little less sensitive. Sometimes it did not turn the screen of because i set the sensitivity too high so it detected movement event when it was fairly still. Try it and tell me if I made it better or worse.

- Added support for up to six waves by request. Tested it some, it seemed to work fine.

Version 1.1.2

- Added action flashlight. Will probably not work on all devices, but it works on my note atleast. Will add more variants for other devices.

- Added EXPERIMENTAL Smart keep screen on function. There is no adjustable settings yet, just on and off. You can try it by setting your screen timeout at a low value like 15 seconds. As long as you hold your phone in your hand, the screen should keep on. If you put it down the screen should go off in 30 seconds or so. I adjusted it to work on my device, but that does not mean it will work good on yours. There is no settings for it yet. Try it, if you dont like it, disable it. Will also spend some time on next version with the shake detection, Its really not what I wanted it to be. It works, but barely.

Version 1.1.1

- Added shakedetection. You can now set an action for shake. Note: Will cause the ui to crash, press backbutton to close smartswitcher settings before using it and it should work fine.

Version 1.1.0

- No visible changes, but lots of changes in the code. I hate spagetticode, so I spent some time removing and rewriting things. Sensorcovered will now really have zero delay if you set that.

- Made the number of proactions allowed to 20, as I said I had done. It seems it was only 10 :)

Version 1.0.9

- Fixed sensor covered, now it wont trigger any action if you remove your finger within the delay time.

- Added a BUNCH of actions. Some will work on your device, some will not. (Depending on rom, installed apps etc) The new features are for the pro version (Yes I will make a pro version.) I am a nice guy so everything you had before still works, plus you can use the profeatures for a total of 20 times, after that they will reset to no action. You are free to select pro features again for another 20 times. Sorry about this, but I have spent quite a few hours on this app now, and I would not mind getting a few bucks for my work. Please tell me what price you find fair for this app, if any price at all :)

- Made it so that gestures will work on active phonecall. This means actions like for instance hangup will actually hangup the call. Sensor covered should not interfere with anything now.

Version 1.0.8

Note: Remaining bug, sensor covered works but the delaysetting does not do what it is supposed to do. That is, even if you remove your finger from the sensor within the delay time, the action will still trigger. Sorry about that, will fix. Too tired now :)

- Fixed the bug that caused settings to not save after a while. Should work fine now.

- Added configurable settings for sensor covered so you can now set any action for that event. If you have a device with slow sensor you should now be able to launch recent apps by setting sensor covered delay to 0 and action to recent apps. You can now also set screen off as action on any wave.

- Fixed vibration feedback for sensor covered event.

- Removed Screen off setting as it is no longer needed.

- fixed some other bits and pieces and cleaned up the code.

Version 1.0.7

- Completely rewrote all of the code for taking care of actions. If I am lucky this will take care of the strange superuser permissions error. Unfortunately this way will mean an ever so slightly slower response, but if it turns out this way works better, I will see if I can speed it up some.

- Lots of bugfixes. Wavesettings and gestures off in landscape SHOULD work properly now. So SHOULD the screen off feature.

- Added button to stop Smartswitcher from doing anything at all. Now, please tell me what I have broken this time :)

Version 1.0.6

- Added settings for all gestures. You can now disable/enable/configure individual gestures. I did test this, but not very carefully. I should stop doing this so late at night. Please tell me if you find problems.

Version 1.0.5

- Added option to disable gestures when phone is in landscapemode. Now you dont have to kill smartswitcher if you find it unusable in landscape and then start it again when back in portrait. Let me know if it does not work as intended.

- Changed the vibrationfeedback on recognized gesture to a more gentle level.

- Find my sensor-mode is gone. Kind of useless feature anyway, good riddance to bad feature.

Version 1.0.4

- Wave once for recent apps, twice for menu, three times for back, four for home. No customizable settings for this yet, I need to sleep now :) Oh, I broke find my sensor-mode.

Version 1.0.2

- Configurable delay for the screenoff when sensor covered-feature added

Version 1.0.1:

- Disableoption for screenoff "bug" :)

- Changed Get the feel-mode to Find my sensor-mode, hopefully this is not as confusing

More coming. If you have any ideas or suggestions, let me know.