yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] MarksThinkTank:
Yeah perhaps that could be a replacement for the pocketmode.. just disable the wakelock.

Pocket Mode was a user request. I guess the person had fairly baggy pants such that the controls were getting reenabled and music started playing while they were walking. So all it does is prevent that from happening. It's raised more support questions than it addressed so it does need to change.

The headphones unplug exit is an auto exit of the app when you unplug your headphones. It used to just be the way the app behaved but I had a request to be able to disable it.

Having to have the app in front is more of a carryover from before I had the notification icon change with enable/disable. It was just to make the user see the status change. I had kinda forgotten about it.

All good points! Thanks for the feedback.

I think I'll change Pocket Mode to something like Only Work With Screen On and then just toggle the wakelock. More straight forward.

Thanks again!
[Samsung Galaxy Nexus] 200mpx:
Pocket Mode

Galaxy Nexus CM9 nightly, Pro version - Pocket Mode is turned on in settings, but app continue to work with screen turned off.
[Samsung Galaxy Nexus] MarksThinkTank:
Yeah the current implementation only prevents a re-enable. So, until you disable it, it'll still work. I'll be changing that soon to avoid confusion.

------

So this fun... it still works without the wake lock. Now I'm thinking back to why I put it there in the first place.

I think I had read that on some phones it's required to still receive sensor data, but not all. So I guess my Note doesn't require it. I get down into deep sleep without the wakelock (as long as music isn't playing) and am still able to start music back up. Sweet.

Now how to word the option to not confuse non devs....
[Samsung Galaxy Nexus] 200mpx:
It will be great to have real Pocket Mode - if Hover lasts more that 1 sec (or other time, better make it adjustable in settings) turn on real Pocket Mode - disable controls :)

---------- Post added at 01:53 PM ---------- Previous post was at 01:44 PM ----------

Great news, hope it is the same for Nexus. As for the wording - "allow deep sleep" maybe?
[Samsung Galaxy Nexus] MarksThinkTank:
Yeah that might a good way to activate it.. hmm.

I ended up just settling on Wake Lock.. see how many questions I get about it.

I just posted V1.50:

-Wake Lock as an option, default is off

-Pocket Mode now disables everything when the screen is off

-Tweaked the timing for the SGSII

-Fixed a bug for the play/pause on MX Video (forgot to put this in the app's changelog)

-Pro gets Screen Off command

Thanks for great feedback guys! It's helping me quite a bit.

Still to come:

For Pro: Launch any installed app

Adjustable timing for the gesture window
[Samsung Galaxy Nexus] SocialReject:
Ingenious.

Sent from the future.
[Samsung Galaxy Nexus] FrostyF7:
This is awesome.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] eldarerathis:
This is pretty cool! Probably the most innovative app I've seen in...well, kind of ever. Two bits of feedback:

The screen on/off actions don't seem to work on my Galaxy Nexus (Verizon). The app registers that the action occurred, but it doesn't actually do anything to the screen. Is there any kind of debug info I can grab that would be useful, maybe from logcat or the like?

Is there any way to interface with Pandora's "thumbs up" button? I have no idea if it's something that's supported on the Pandora end, but it would be great if that was an action in the Pro version.

Other than that, this is slick. Nicely done.
[Samsung Galaxy Nexus] zombioptic:
Tried the free version for a couple of days, and just purchased it. Phenomenal work, dude!
[Samsung Galaxy Nexus] 6jaipur6:
The only thing that can i say is that is AWESOME>Thanks man and keep this project alive!
[Samsung Galaxy Nexus] Torture12:
Bought pro to try out voice search...doesn't seem to work. Just says "Voice Search not found"

Turning my screen off doesn't work either.

Stock Galaxy Nexus on 4.01
[Samsung Galaxy Nexus] Meep70:
Hmmmm....what about using it with Tasker, to open up possibilities?
[Samsung Galaxy Nexus] wilsonlam97:
God damn this is so cool.
[Samsung Galaxy Nexus] clj575:
Works once and then stops.
[Samsung Galaxy Nexus] MarksThinkTank:
Hmm.. looks like something changed with ICS for launching apps and the screen off. My Note is still on Gingerbread (so far can't get an ICS Rom to play nice).

I'll see what I can find.

For Voice Search, I had read that if it came preinstalled there were issues. I wonder if you could uninstall and reinstall it if that would fix it. I'm just calling the package name to launch.

I'll look into if Pandora has an api i can access.

That's weird. Do the commands stop showing up in the Last Action area? Is FC'ing? Can you describe the behavior?
[Samsung Galaxy Nexus] clj575:
That's weird. Do the commands stop showing up in the Last Action area? Is FC'ing? Can you describe the behavior?

It changes in the last action but doesn't complete the action. No fcs
[Samsung Galaxy Nexus] jeeholim:
Hahahaha, this is amazing. It's got to the most innovative and cool app I've ever seen. Props to the developer, it feels like I have some sort of hovering control system :D
[Samsung Galaxy Nexus] joshnichols189:
Might want to look into Prox to see how they do some things, could help :)
[Samsung Galaxy Nexus] printing724:
On my CDMA GNex, the screen on/off function does not work consistently. If I reprogram the gestures, it works once or twice then stops working. Seems to work sometimes from within the app but if the app is not in front, it works less. I wish I could be more specific but after playing for 45 minutes I couldn't isolate a specific pattern.

Bought the pro since I want to support this. Lots of potential. Let me know what info is helpful (logcat, etc.)
[Samsung Galaxy Nexus] 6jaipur6:
After a day with wave I have some complains...it consume a lot of battery, keep the processor at a high-level and the phone is heating .
[Samsung Galaxy Nexus] MarksThinkTank:
Are you using the free or the Pro version?

It shouldn't use that much battery. Only on the order of what the music player uses at most.

The only thing I can think of is if it's the free version then it may be the extra load from the ads but even that should cause your phone to heat up.

Anyone else experiencing this?
[Samsung Galaxy Nexus] MarksThinkTank:
Ok so I think I've found the most common ways to turn off the screen. I don't like most of them. One requires Phone Administrator Privileges which I don't want to ask for, another only turns off the screen and won't reach deep sleep, there's the current way but doesn't work on Nexus devices, and lastly the one I thinking of going with (only for Nexus devices) but has a bit of delay at least on my phone.

I need some help!

I need some Nexus owners as beta testers. Please PM me with your email if interested.

I would like to know:

1. Does this workaround actually work on the Galaxy Nexus?

2. In your opinion is its performance good enough to include?
[Samsung Galaxy Nexus] MarksThinkTank:
Pricing and In-App Purchases

What do you all think about this pricing structure and feature-set:

Pro:

One time payment $1.99

Will get all current and future features

Free:

Ads, In-app purchase available to "upgrade" to pro features one at a time like:

Remove Ads - $0.99

Assignable Gestures (includes all music related commands) $0.49

Extra Bundles of commands as I add them $0.49

I'm trying to monetize the free installs more and make it easier to get more features.
[Samsung Galaxy Nexus] SocialReject:
Sounds good.

Sent from the future.
[Samsung Galaxy Nexus] bangdrum:
I saw someone post about a issue with the screen on feature. I can confirm that it doesn't always work.

Feature request: can you add the option for launching our choice of apps with a motion such as vlingo. I dislike the Google voice search. Vlingo is much better. Plus the voice search feature doesn't work currently.
[Samsung Galaxy Nexus] Simer03:
this app is extremely helpful during work! very nice!
[Samsung Galaxy Nexus] MarksThinkTank:
The screen on issue is one I can't reproduce. I'll see if I can incorporate another method to help make sure it happens.

Launching your choice of app is slotted to go into the next update I'm about to start work on. Just posted the latest with the workaround for Nexus phones for screen off among other fixes.

Again, thanks everyone for the great feedback!
[Samsung Galaxy Nexus] walkamake:
Updated to 1.52, now have some bags:

1. Screen off/on command causing FC when trying to screen off. Screen on works fie.

2. In command list there are two "None" items.

Using pro version on Galaxy Nexus with custom ROM
[Samsung Galaxy Nexus] eldarerathis:
I'm getting the FC when trying to turn the screen off, too. Screen on *does* work, though.

I sent a crash report via the Market, but here's a stacktrace for you. Feel free to drop me a PM if I can get you anything else/help out at all:

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.MarksThinkTank.WaveControlPro/com.MarksThinkTank.WaveControlLibrary.DummyBrightnessActivity}; have you declared this activity in your AndroidManifest.xml?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1508)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1384)
at android.app.Activity.startActivityForResult(Activity.java:3190)
at android.app.Activity.startActivity(Activity.java:3297)
at com.MarksThinkTank.WaveControlPro.WaveControlActivity.a(Unknown Source)
at com.MarksThinkTank.WaveControlPro.WaveControlActivity$ProxServiceReceiver.onReceive(Unknown Source)
at android.support.v4.a.c.a(Unknown Source)
at android.support.v4.a.d.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4575)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
at dalvik.system.NativeStart.main(Native Method)
[Samsung Galaxy Nexus] MarksThinkTank:
Sorry about that! I moved that activity file to my library so both free/pro versions would compile. BUT, it seems it can't find activity files in a library for some reason???

I'll put out an update ASAP.
[Samsung Galaxy Nexus] MarksThinkTank:
Yeah I had to keep an extra one in there since I took away one option by combining Screen Off and On so it won't crash when loading saved preferences. It'll go away once I add another new command.

Good eye.
[Samsung Galaxy Nexus] ruimoura:
Amazing to control the Galaxy Nexus on the car, bought the pro version, you deserve it :)
[Samsung Galaxy Nexus] MarksThinkTank:
Thanks, I really appreciate it! Tell all your friends :D
[Samsung Galaxy Nexus] MarksThinkTank:
New Version Coming

Man.. this is taking longer than I thought...

Version 2.0 is Coming!

I've overhauled the layout to make room for more settings. Also the free version will be upgradable in pieces so people can pick and choose features to unlock.

The Pro version will still be a better deal if you want all the features. The Pro version also will give you access to all future features as well.

Grab the Pro version early to snag a low price. As the feature set increases the price will incrementally go up.

2.0 is mainly laying the foundation for more features but does include:

-Launch to Background Option

After that comes:

- Launch Any App

Also evaluating:

- Fast Forward/Rewind

- Profiles
[Samsung Galaxy Nexus] neederishelp:
Would it be possible to make this function as the soft keys? I think that would be a great Idea
[Samsung Galaxy Nexus] superstargoddess:
Looking forward to the new version!
[Samsung Galaxy Nexus] neotekz:
is it possible to turn off certain gestures? i keep disabling the app when im using previous gesture, maybe i just need more practice. great app by the way.
[Samsung Galaxy Nexus] chickentuna:
I bought the pro version, Feels like I control the music using force. I'm a ****ing jedi
[Samsung Galaxy Nexus] MarksThinkTank:
That's a cool idea. I know I can do the Home button but so far I can't see how to do the back button..

Thanks, in the Pro version you can change the action for each gesture and one option is to disable it. It's also coming to the Free version as an in-app upgrade for a price.
[Samsung Galaxy Nexus] neotekz:
switched to the pro version but having some problems getting the screen to turn on. i use the guesture to turn the screen off but i cant use the power or button gesture to turn the screen back on. im i tried both to turn pocket mode and wakelock options on and off. this happens most of the time after i use the hover gesture to play or pause music, it will work after a few tries or if i wait a bit. there was one time when i had to pull the battery though. im running aokp milestone 5 with franco's nightly kernel if that makes a difference.

edit: forgot to add that a few times when the screen turn on i got a force close for wave control pro.
[Samsung Galaxy Nexus] DirgeExtinction:
*waves hand* This is NOT the song you're looking for. *skips to next song*
[Samsung Galaxy Nexus] MarksThinkTank:
On the Nexus S and Galaxy Nexus I had to use slower method to turn off the screen. The screen needs to stay off for about 7-10 seconds before the screen on responds. For normal use this seems fine but for testing functionality it would suck.

But, it hasn't been known to FC. Only be unresponsive for the 7-10 seconds.

I'm inclined to say it's got something to do with your ROM. Can you post the LogCat when it FC's?
[Samsung Galaxy Nexus] neotekz:
i have some exp with logcat and ADB but that was to look for wakelocks so i don't really know how to get a log after FC. is there an easy was to do this like with an app? i can get the log after the FC since i can't replicate it all the time. there's been a few cases when i turn the screen on and wave control is closed without any FC prompt and when i restart all my settings are gone.
[Samsung Galaxy Nexus] MarksThinkTank:
I'm not really sure. Usually when it FC's it'll prompt you to report it and you can add a message. Or if you were able to recreate on a consistent basis, you could hook up to ADB and grab it there.

If you can't recreate the FC consistently then maybe it's conflicting with another app. Are you running anything else that uses the proximity sensor or tries to control the screen state?
[Samsung Galaxy Nexus] GeekMcLeod:
Just installed this app and am just shocked at how well it works. Will definitely be using it for a couple days to see how well it hurts my battery life but I love the idea of it. When I can and if it doesn't hurt battery life too much, I will definitely be buying the full version.
[Samsung Galaxy Nexus] MarksThinkTank:
Voice Search on ICS

Sweet. Found a workaround for Voice Search on ICS.

For other devs interested: The problem was that I was using a launch intent for the package com.google.android.voicesearch but that no longer seems to exist in ICS.

Long story short I had to use a Recognizer Intent instead:

Intent intent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH);
startActivity(intent);

Posted it to StackOverflow: http://stackoverflow.com/a/11200791/1481646

So with that out of the way, I'm hoping to get V2.0 out the door in the next day...
[Samsung Galaxy Nexus] MarksThinkTank:
Version 2.0

Version 2.0 is out the door!

Let me know if I broke anything or what you think of the new layout!
[Samsung Galaxy Nexus] MarksThinkTank:
V2.1 Coming

Alrighty, the Launch Any Installed App feature is just about done. Just gotta test it a bit more and look it over again. Shooting to release it tomorrow.

Also adding Home action. It only works when the app is in the foreground which is a bummer. If anyone knows how to do it from the background, let me know!
[Samsung Galaxy Nexus] Northernmost:
Love your app! I tried the free version and bought the full version minutes later.

Off the top of my head, here's a few Tasker related feature requests for when you have a quiet moment or two ;)

1) Running a Tasker task as a gesture option. This would be great as it'd let the gesture do whatever Tasker can do... which is quite a lot!

2) Having profiles you can switch between e.g. one profile for music gestures, another for night-time ones and a default set. My thinking here is to have a default profile with general system wide gestures (search, back, home etc.) but then have further app specific profiles to be used when a particular app is active. The active-app-profile-switch magic would need #3 below...

3) Allowing Tasker to activate a Wave Control profile.

Tasker has a landing point for devs here.

The app's great as it is so don't worry about any of the above and thanks again for taking the time to write Wave Control :D
[Samsung Galaxy Nexus] MarksThinkTank:
Great ideas, I've been planning to have profiles eventually and I think now that the launch any app is finished, I'll do that one next.

I wish I could do the back and home commands but for now it looks like I can't with the standard permissions. I'll look into if it's possible with root access.

I do have Tasker on my radar. I agree it would open up quite a bit of functionality if I can get them to work with each other.

This app is hardly finished... many more things coming :)
[Samsung Galaxy Nexus] MarksThinkTank:
And, V2.11 is uploaded

It should show up in the Play Store in the next 30 minutes or so.

Let me know what you think... and if I broke anything :p
[Samsung Galaxy Nexus] Northernmost:
One more thing about profiles (you've maybe got this in mind already) could be to have some of the app settings as part of a profile i.e. call controls, headphones unplug, pocket mode and wake lock. These are all things that a user may want to change under certain circumstances e.g. have pocket mode on normally but disable it when controlling music.I would anyway ;)
[Samsung Galaxy Nexus] MarksThinkTank:
Good call. I was only thinking about the assigned actions. Makes sense to include the other settings. Thanks!
[Samsung Galaxy Nexus] MarksThinkTank:
Jelly Bean

Anyone running Jelly Bean? Could you see if there's an issue with the new Music app?

If it's not working, is there now an option to enable headset controls in the Music app?

Someone left a review that it's not working.

Thanks
[Samsung Galaxy Nexus] Northernmost:
I'm running Google Music 4.3.605.392829 (the one that came with the 2012 I/O Jelly Bean devices) fine here. There's nothing in settings for headset controls. My guess would be another app on their device was intercepting them.
[Samsung Galaxy Nexus] MarksThinkTank:
Whew.. Thanks for checking for me!
[Samsung Galaxy Nexus] kindiboy:
is it possible to silence the phone when it rings with it?
[Samsung Galaxy Nexus] MarksThinkTank:
If you enable "Call Controls" in the Settings tab, then one wave will silence the ringer on incoming calls.
[Samsung Galaxy Nexus] MarksThinkTank:
V2.18 released to the Play Store

I just put up a new version V2.18

Changes:

1. Option to choose which app to control for media controls -> Works great on video apps too like MX Player

2. Auto Launch Media App - launches chosen media app when Wave Control is started

3. Fast Forward, Rewind (works better with MX Player for video vs Samsung's Video Player)

4. Bug Fix for how the app exits

Hopefully this will resolve the issues with the wrong app responding to the controls.

Let me know what you guys think!
[Samsung Galaxy Nexus] Gunde:
The app works really great but I'd love a "start on boot" option so that it's just ready and running in the background after a reboot.
[Samsung Galaxy Nexus] MarksThinkTank:
Hmm, I'll have to think about that one. In the mean time, you could use Tasker to launch it on boot.

--

Profiles development keeps getting bumped for bug fixes.. new version coming soon. Found a bug in the Screen Toggle functionality.
[Samsung Galaxy Nexus] Northernmost:
Great to hear it's on the way :). No hurry. One of the things (there's not much else) annoying me about the Nexus 7 is the lack of proximity sensor - so no Wave Control. If you could fix that, that'd be great! ;)
[Samsung Galaxy Nexus] wootcarlos:
Great App!

it would be totally cool if we were able to take screen shots using the proximity sensors!:D
[Samsung Galaxy Nexus] tanner4137:
Lol, why does the market force close every time I click on it in the Play Store?
[Samsung Galaxy Nexus] MarksThinkTank:
wtf.. Another person had that happen in the general android app thread. Man... I don't why that would happen.

Which version of the Play Store are you running? Are you on Jelly Bean?

You should be able to still install it through the PC web version of the Play Store.
[Samsung Galaxy Nexus] stacio88:
My market also FC's. 3.7.15 is the market version on JB.
[Samsung Galaxy Nexus] Northernmost:
FC'ed repeatedly for me too but came through in the end on my device. I thought it was something up with me running OAKP nightlies... but apparently not!
[Samsung Galaxy Nexus] MarksThinkTank:
Can you check again now?

I think I got it figured out. Works on my friend's Galaxy Nexus now.

The What's New area has a stated character limit of 500. I was using 499. Apparently the Play Store app has a bug so it can't really handle that much.
[Samsung Galaxy Nexus] Northernmost:
Weird. I got the update installed a couple of nights(ish) ago after numerous FCs. It's still FCing me now in Play Store when I try and view the app details. So I've no idea how I managed to get the update to install... but it's there (version 2.20). Cleared data and cache for Play Store but to no avail I'm afraid.

Edit: Play Store version 3.7.15 on GSM Galaxy Nexus running 4.1.1 JRO03H AOKP nightly from August 13th.
[Samsung Galaxy Nexus] MarksThinkTank:
Damn, I thought I had it figured out.

Do both the Pro and regular trigger a FC?
[Samsung Galaxy Nexus] GeekMcLeod:
From what I've read, and understand, clicking on Wave Control in the Playstore is Fc'ing? I am able to open and view all information on it in the playstore. This is the free version but I've paid for remove ads, if that makes a difference. Playstore 3.7.15 running on ParanoidAndroid.
[Samsung Galaxy Nexus] MarksThinkTank:
It only seems to be affecting Jelly Bean. Are you running Jelly Bean?
[Samsung Galaxy Nexus] Northernmost:
Afraid so. I'm on Pro FWIW. As a long shot I tried switching my language from "English (United Kingdom)" to "English (United States)" and then open WC in the store === FC.

I'm wondering if, perhaps, there's a hidden character (e.g. line feed, tab) in the text for the app that's causing the store app to FC. A long shot I know... but the FC occurs right when I'd expect the store to display the details for the app.

I'm maybe not the best one to base anything on since I'm running a rooted device on a nightly ROM ;) Feel free to PM me if you want me to try anything out in a hurry as I only check XDA 2 or 3 times daily.
[Samsung Galaxy Nexus] anapospastos:
This application is smart as hell. Really thank you.

My 2 basic problems are first, if I close the music player wave control keeps being enabled letting the proximity sensor on and as a result consuming battery and second, when you want to use wave control in an app you have to start it manually. The solution to first is killing the process with a task manager but the core feature would be somehow to "watch" the application is using it and when the first is terminated to kill its process too turning the proximity sensor off. Something similar for the second point would be when an app want to use it a /daemon that is always run\ to turn it on without user have to open it manually. My thinking is to provide a "watcher" process which enables and disables wave control when user defined applications running.
[Samsung Galaxy Nexus] MarksThinkTank:
Hmm.. yeah that's an interesting idea. I'll look into it.
[Samsung Galaxy Nexus] GeekMcLeod:
Of course. I couldn't imagine still being on ICS. But maybe it's my Rom. I'm running ParanoidAndroid, so my playstore is differently sized.