A Locale plugin that simulates pressing a headphone or headset button. Available buttons are the "hook" ie single headset button, Play/Pause, Play, Pause, Next, Previous, Fast Forward, Rewind, Stop. Also optionally checks whether anything is currently playing.
This is useful because headphone buttons automatically use the current "preferred" media player on your device, which is usually the most recently used one, instead of any one specific player.
I use this to restart whatever was playing last when I plug in my headphones. It's nice that Android automatically pauses when they're unplugged, but it's annoying to have to unlock the screen, navigate through the player app, and press play again. Add a Locale situation with headphones connected as the condition and this plugin with "Play/Pause" as the setting, and voila, your music or podcast automatically restarts when you plug your headphones back in!
Warning: some media player apps don't handle headphone buttons consistently, or even at all, even built-in apps. If this plugin doesn't work with a specific app, check that it supports the headphone button you've selected, and/or try other buttons.
</div> <div jsname="WJz9Hc" style="display:none">Een Locale plugin die simuleert het indrukken van een hoofdtelefoon of headset-toets. Beschikbare knoppen zijn de "hook" dwz knop enkele headset, Play / Pause, Play, Pauze, Volgende, Vorige, Snel vooruitspoelen, terugspoelen, stop. Optioneel ook controleert of alles wat momenteel wordt afgespeeld.
Dit is handig omdat hoofdtelefoon knoppen automatisch gebruik maken van de huidige "preferred" media player op uw apparaat, die meestal is de meest recent gebruikte men, in plaats van een een specifieke speler.
Ik dit gebruiken om opnieuw op te starten, ongeacht het laatst spelen toen ik de stekker in mijn koptelefoon. Het is leuk dat Android pauzeert automatisch wanneer ze unplugged, maar het is vervelend te moeten om het scherm te ontgrendelen, navigeren door de speler app, en druk opnieuw te spelen. Voeg een Locale situatie met een hoofdtelefoon aangesloten als de staat en deze plugin met "Play / Pause" als instelling, en voila, je muziek of podcast automatisch opnieuw opgestart wanneer u de stekker van uw koptelefoon terug in!
Waarschuwing: sommige media player apps niet hoofdtelefoon knoppen hanteren consequent, of zelfs helemaal niet, zelfs ingebouwde apps. Als deze plugin niet werkt met een bepaalde app, controleren dat het ondersteunt de hoofdtelefoon knop die u hebt geselecteerd, en / of probeer andere knoppen.</div> <div class="show-more-end">