Get the embed code

Preview the embedded widget

Close
Locale Headphone Button Plugin

Locale Headphone Button Plugin

Ryan Barrett

1,000 - 5,000 downloads

Add this app to your lists
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.

Tags: android headset rewind "fast forward", android next previous revind player headphone, android press play headphone, android rewind headphone, androidplayer 3 button headset, headphones prew next android player, locale headphone unplugged close app, plug play headphone download.

Recently changed in this version:

0.2 12/30/2011
add option to check whether something is currently playing

0.1 12/6/2011
initial release!


Screenshots Locale Headphone Button Plugin:

View bigger - Locale Headphone Button Plugin for Android screenshot
View bigger - Locale Headphone Button Plugin for Android screenshot

Comments and ratings for Locale Headphone Button Plugin


  • There aren't any comments yet, be the first to comment!