我有一个Moto Droid，运行Android 2.2（Froyo），虽然这种行为也在2.1上存在。每当我插在耳机插孔中的东西时，音乐应用程序将启动（有时有点延迟）并开始播放某些东西（通常是圣诞音乐）。 更常见的是，我插入耳机以使用谷歌收听听播客...如果倾听已经运行，我可能会在同一时间结束两个应用程序。
I have a Moto Droid, running Android 2.2 (Froyo), although this behavior also existed on 2.1. Whenever I plug something in the headphone jack, the Music app will start up (sometimes with a bit of a delay) and start playing something (generally Christmas music). More often than not, I'm plugging in headphones to use Google Listen to listen to podcasts... if Listen is already running, I may end up with both apps playing at the same time.
The Music app doesn't seem to have any settings that would affect this behavior. Is there some way, short of deleting all of the music so that there's nothing to play?
It's been reported as a known issue on code.google.com. There's a long list of 79 comments which seem to indicate that rooting and adding a program called "Autostarts" fixes the problem. This is obviously not something everyone is going to want to do... be careful if you go that route.
You can use the Headset Blocker widget to disable that behavior.
When you plug in your headset click the Music On The Go Event in smart connect and then go to the options and disable Smart Connect. Worked on my Sony Xperia Z3 on Droid 5.0.2
Fixed! Go to: Settings; General Select: Context Awareness Select: When earphones are plugged in Then click the slide to disable.