How can I disable Google Voice Commands on an Android phone? I prefer not root my phone, but I'd be willing to, if it's necessary.

Google Voice keeps popping-up Search and Voice Dialer randomly (about twice a minute). They enter random commands into Search bar and I can't turn them off.  The problem might be caused by inexpensive headphones.

I'd like to just completely remove the software from my phone.  If I can't do that, I'd like to get them to stop randomly popping up.
Here's how you can turn this off in most Android builds:

Look for an app called "Google Settings." By default, the icon will look like this:



From there, choose "Search &amp; Now" &rarr; "Voice" &rarr; "'Ok Google' hotword detection" and turn that setting off.

If that doesn't apply to your phone's OS, you'll need to provide more info. If you are running the OS that came with the phone, provide the make and model. If it is rooted, provide the name and version of the custom ROM.