Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,556 Members 44,631 Now Online
XDA Developers Android and Mobile Development Forum

[APP][2.2+][v1.4.02] Hovering Controls (emulates Air Gesture from S4)

Tip us?
 
forgin
Old
(Last edited by forgin; 3rd June 2014 at 08:22 PM.)
#1  
Senior Member - OP
Thanks Meter 710
Posts: 343
Join Date: Sep 2010

 
DONATE TO ME
Default [APP][2.2+][v1.4.02] Hovering Controls (emulates Air Gesture from S4)

Hello all!!

I am developing a new app, its called Hovering Controls. The app imitates the beheaviour of Air Gesture from Galaxy S4 (some options need root like gallery swipe and browser scroll) It also emulates Quick Glance, Air Call accept etc etc..
You can also control your music/video players, start your desired app on a move, switch to previous apps, jump to launchscreen....you can check the features bellow.
I have 2 version of the app, both full versions, one is XDA version wich is totally free (you can download here) and a supportive version published in Google Play (with this version you support future updates and features).
Any feedback and suggestions are well received. I will try to add all features you ask for.
Thank you every body!!



Sharing INFO:
Please do not upload the app in other sites, stores or online storages. Link back to this post or to Google Play.
I prefer not using the app on custom roms, i prefer that people just download it from here or the store so they always can have the latest updates and fixes.
If you make a translated version (i will translate it asap) pm me with a link to download so i can post it here too.

Any questions, petitions suggestions or whatever you want, pm me or contact me via Skype(golgorth@hotmail.com) or gmail(forgin50@gmail.com)

Thank you everybody!

Download:
Attached to the post.


Current Version 1.4.02:
- Recoded Music Controls for android version 4.0+, now it should work with all music players and with no errors!!
- Tasker support to start hovering controls, use this intent string (delete the " ): "com.golgorz.hoveringcontrols.startService"
- When choosing and app to open, you can now select an activity to open directly (or just use the default one).
if the activity can not be opened (sometimes activities are protected or need some data to open) the default one will be started.

-FEATURES-
Quote:
Features for NO ROOT:
- Blacklist app to pause hovering controls in desired apps.
- Set apps to open with all the available gestures.
- Silence alarm.
- Silence incoming call.
- Switch betwen recent apps (like back and forward beheaviour)
- Fast go to home screen
- QuickGlance like Galaxy S4 has!!! (or choose to show your lockscreen)
- Control your music player (next/previous/pause/resume) even with screen off!!!
- Shake your phone to switch speakerphone on/off
- Unlock screen with two hand slides!
- Lock screen
- Flip Cover mode.
- Answer incoming call, just put your phone near to your ear (it uses Hover Hold motion)

Features for ROOT USERS:
- All previous features.
- Tilt to slide left or right in any app and homescreen (Experimental)
- AutoShoot pictures/videos, no need to push the button again! (DESACTIVATED UNTIL NEW UPDATE)
- Slide betwen your photos in your image gallery (1 slide->next, 2 slides->previous)
- Scroll up and down in your browser (1 slide->down, 2 slides->up)

More features to come as well as translations!!!

PERMISSIONS:
DISABLE_KEYGUARD = for unlocking the lockscreen
GET_TASKS = to get your running apps and switch betwen them
INTERNET = not actually used, but might use for future updates.
READ_CALL_LOG = get your missing calls to show in QuickGlance
READ_PHONE_STATE = to pause app while in a call for example
READ_SMS = show counter of new received sms in QuickGlance
RECEIVE_BOOT_COMPLETED = to start upon boot
REORDER_TASKS = to switch betwen recent tasks (like back&forward betwen 2 apps)
VIBRATE = vibrate phone xD
WAKE_LOCK = to wake up phone and show QuickGlance or unlock screen


Credits:
- pavik62 -- Russian translation
- LeSScro -- Designs
- MSTRoyal -- German translation and lots of testing!!!
(translations will be available in future updates)
Also thanks all who offered for translations that will be added in future updates and of course i would like to thank all people that helped me with their feedback and ideas.
ChangeLog
1.4.01
- Fixed bug when screen locks a few seconds later after unlocked.
- Now both answer call with hoverhold and twice slide works at same time.
1.4.0
- Added option to autoanswer with double slide
- Added option to activate speakerphone automatically when answered with double slide.
- Fixed a possible bug with speakerphone.
v1.3.9
- Option to blacklist notifications of apps (under lockscreen options).
- Fixed some bugs.
- Reconstructed lost code.
- Option to set a blacklist of apps so hovering controls will not fire events while they are opened.
- QuickGlance now can show any new notifications (only android 4.3 and newer);
- Cleaned service code to use less ram.
- Speakerphone option while in a phonecall has been changed to Twice Slide (no more shakes).
v1.3.1
-Fix auto answer call for some devices.
- Fix bug that answer a call after a few seconds when silencing it.
- Fix some FC when answering calls and other FC.
- Option to choose a video player for the music/video player controls, fixing a bug that music start playing when trying to pause a video.
- Tried to add Spotify support, pleas report if it works, i couldnt really test it.
- Test sensor section changed to Sensor options, You can change alternate sensor delay time and set it to use for real use.
- More fixes i dont remember
v1.2.9
- Music Controls fully implemented, read instructions in description.
- Unlock lockscreen for NON ROOT!!
- Fix a FC when answering a call.
- Other tweaks.
v1.2.8
- Cleaned code for less ram usage and faster execution.
- Changed root code: root options should work better.
- Samsung Alarms now mute on wave, bugged in last version.
- Test Sensor own service now stops properly when exiting.
- HTC Sense added for gallery slides.
- Contacts and Telephone apps now opens as diferent apps (should work for others too).
- More fixes to events behaviours
v1.2.7
- Again, Fixed QuickPic gallery slides.
- Added slides compatibility with F-Stop Image Gallery.
- Fixed Stock Camera not pausing events if you set to not use while in camera mode.
- Other fixes.
v1.2.6
- Hover Hold with alternate sensor detector fixed. Sorry.
- Fix QuickPick gallery slide
v1.2.5
- Permissions added to fix some FC (bluetooth for answer calls and read contacts to check missed calls)
- Added option to stop detecting when screen is off.
- Added option to switch on/off vibration with events.
- Adjusted browser scroll (firefox not suported yet) and gallery slider (now works with quickpick)
- Start at boot now works as it should be.
v1.2.4
- QuickGlance now works propperly!!
- Now you can answer calls without root, just put your phone in your ear.
- Fixed more force close errors.
- Shake to reject added but dissabled because it needs a permission that shows up as "Service that cost you money" and users dont like this kind of permissions and i dont like them too.
v1.2.3
- Fixed a Force Close when unlocking screen with waves after showing quickglance
- Adjusted QuickGlance so it should not show lockscreen.
- You can now adjust Shake sensitiviy in Test Sensors screen
- Other code fixes.
v1.2.2
- Slides will not open any app in background when lockscreen is shown
- Deleted Hanging up phone calls with Hover Hold, just to answer (root)
- Shake your phone to switch speakerphone on/off
- Hovering Control will not react to events while in a camera app.
- Hover Hold autoshot desactivated until new updates.
v 1.2.0
- lots of features.
v1.1.3
- Alternative detector is now available for use, just choose it in setting screen.
- Setting screen is now on with only one setting xD more to come.
- You can now select your launcher as an app to open (usefull for fast home button) not available with carousel.
- You can now select Previous app (not for carousel) this will open your previous oppened app, if not available will open second, if not, nothing happens.
v1.1.2:
-Changed UI to be easier to understand.
-A spinner with your carrousel apps is now shown in the main screen.
-Added compatibility with 2.2 and up!
v1.1.1
- In Test Sensor section added new option to change the type of the detector, activate it if the app is not detecting you propperly. Only available in test sensor section, not available for use yet.
v1.1
-Added "test sensor" options in menu, this way you can check your hand slides and find they way it works for your sensor.

Known issues:
- Music controls sometimes fails to work..musc player can became a little crazy.
- Nexus 7 has no proximity sensor...app not working.

My Google Play apps:
https://play.google.com/store/search?q=Golgorz&c=apps

Hovering Controls in Google Play:
https://play.google.com/store/apps/d...veringcontrols

PD: If i get a new icon i will update it, i think i messed it up with the psd xD
The Following 524 Users Say Thank You to forgin For This Useful Post: [ Click to Expand ]
 
daltonhrrll
Old
#2  
daltonhrrll's Avatar
Senior Member
Thanks Meter 41
Posts: 274
Join Date: May 2013
Location: Greenville
Quote:
Originally Posted by forgin View Post
Hello all!!

I am developing a new app, its, for now, called Hovering Controls, it allows you to open your desired app with hand gesture (1 slide, slide twice and hover) (not real gesture as it uses proximity sensor) it also allow you to play, pause, next,previous your songs/videos even with screen off. Also mute alarm and ring phone with a simple hand wave. There are 2 modes, target mode (1 gesture for one app) and carousel mode where you can set a list app and it goes throught them.
I would like to hear from your opinions and feedback.
Thank you very much all!!

Download Link:
www .dropbox. com/s/47ebpqyj1ol3jdj/Hovering%20Controls.apk
delete the spaces in the url as i still cant post urls.
PD:The icon is just a demo not the final one. It has a widget also to stop/pause the detection.
So it's essentially air gestures like the s4 comes with ?

Sent from my MB886 using xda premium
The Following 3 Users Say Thank You to daltonhrrll For This Useful Post: [ Click to Expand ]
 
mjrifath
Old
#3  
mjrifath's Avatar
Senior Member
Thanks Meter 675
Posts: 1,251
Join Date: May 2012
Location: XDA
Nice idea mate. I hope future updates will bring more features..

Downloading now.. will play with this app for some time and update the progress

Thanks for your effort:thumbup:

Sent from my GT-N7000 using xda premium
The Following 2 Users Say Thank You to mjrifath For This Useful Post: [ Click to Expand ]
 
Dhiraj
Old
#4  
Dhiraj's Avatar
Senior Member
Thanks Meter 298
Posts: 2,369
Join Date: Dec 2010
Good start. Double slide option is best .

Sent from my GT-P3100 using xda premium

---------- Post added at 11:49 PM ---------- Previous post was at 11:42 PM ----------

If possible, try to reduce the used ram amount at runtime .

Sent from my GT-P3100 using xda premium
 
forgin
Old
#5  
Senior Member - OP
Thanks Meter 710
Posts: 343
Join Date: Sep 2010

 
DONATE TO ME
Quote:
Originally Posted by daltonhrrll View Post
So it's essentially air gestures like the s4 comes with ?

Sent from my MB886 using xda premium
Not really, you can not control de interface of apps, just open your selected app with hand waves. Extra features are music/video player control, alarm and phone call ringing mute.

I still need to work on the event detector, some phones have slower sensors and if you wave your hand fast nothing is detected...i will need to figure out how to make it "smooth" with all sensors.

About ram, i will need to check that, i will clean the code, it still has debugging code and variables. Good thing is while running, the code only runs when a proximity event happens, so its not all time looping throught the code.

If you find that the app is not working with your fav music/video player, post the name of the app and i will update it. If you find out more features for it, also post them i will try.
The Following 5 Users Say Thank You to forgin For This Useful Post: [ Click to Expand ]
 
forgin
Old
#6  
Senior Member - OP
Thanks Meter 710
Posts: 343
Join Date: Sep 2010

 
DONATE TO ME
New version uploaded that allow you to test your sensor so you can test your hand slides and check what happens.
The Following User Says Thank You to forgin For This Useful Post: [ Click to Expand ]
 
handryg555
Old
#7  
handryg555's Avatar
Senior Member
Thanks Meter 179
Posts: 835
Join Date: May 2011
Location: Mumbai

 
DONATE TO ME
awesome mate...... but settings not working.... it will be great if I'll be able to remove that notification icon from notification bar....

Sent from my One V using xda premium
 
forgin
Old
#8  
Senior Member - OP
Thanks Meter 710
Posts: 343
Join Date: Sep 2010

 
DONATE TO ME
Quote:
Originally Posted by handryg555 View Post
awesome mate...... but settings not working.... it will be great if I'll be able to remove that notification icon from notification bar....

Sent from my One V using xda premium
Yep, settings not working yet, i will add an option to not show an icon in the notif bar (it is shown because the service is running as foreground so Android do not destroy it for resources, in the next update with the option to not show the icon, if you check it, android may destroy the service for a moment if needed)
The Following 3 Users Say Thank You to forgin For This Useful Post: [ Click to Expand ]
 
Ace42
Old
#9  
Ace42's Avatar
Senior Member
Thanks Meter 1,125
Posts: 9,167
Join Date: Jul 2009
Location: New York
Quote:
Originally Posted by forgin View Post
Yep, settings not working yet, i will add an option to not show an icon in the notif bar (it is shown because the service is running as foreground so Android do not destroy it for resources, in the next update with the option to not show the icon, if you check it, android may destroy the service for a moment if needed)
Your app works pretty well, i use it for opening camera and phone from anywhere.

Sent from my Nexus 4 using xda app-developers app
Main: LG G2 D-800 {Tmobile)
LG Opt G (e970)
Hybrid radios for E970
Surface RT 32GB--Kindle Fire 1G_CM11--SGS Vibrant_CM11
Owned: G1(Backup)-> Mytouch3GS(Sold) -> SideKick4G(Traded) -> MyTouch4G(Sold) -> Sensation 4G(Sold) -> Galaxy Player 5"(Sold) ->Nexus 4(broken)->LG Opt G
 
forgin
Old
#10  
Senior Member - OP
Thanks Meter 710
Posts: 343
Join Date: Sep 2010

 
DONATE TO ME
Quote:
Originally Posted by Ace42 View Post
Your app works pretty well, i use it for opening camera and phone from anywhere.

Sent from my Nexus 4 using xda app-developers app
Nice!! I am glad you like it ^^. I will try to improve it.

If you all have any idea to implement i will try to.
Also i will check how to make it compatible with tasker.

The Following 4 Users Say Thank You to forgin For This Useful Post: [ Click to Expand ]
Tags
android, apk, app, application, control
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes