Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I am looking for a way to restart media playback where it was stopped as soon as I reconnect the headphones. I know there was a media player with this feature (I cannot remember which one), but I did not like its way of managing/playing the playlists.

I am running Android 4.0.3 on an HTC One V, using the default media player that is installed on it.

share|improve this question
    
I took the freedom to rephrase your question for two reasons: 1) "is there an app for X" is off topic according to our FAQ, and 2) your question looked like an XY problem (you don't want another media player, but that feature to work ;) Feel free to correct if I did wrong. –  Izzy Jan 11 '13 at 20:05
    
Check the new answer. Hope it suits you :) –  Sid Jan 12 '13 at 1:27

3 Answers 3

up vote 1 down vote accepted

The best solution for you would be to use Smart Connect Liveware™ Mgr.

ScreenCap

As you can see, you can set actions to start when you plug a device (headset, HDMI, charger, etc.) and actions to start when you unplug the device. I have a setting to start playing music when I connect my headphones and stop playing when I remove it. There are many things you can do with this.

The best part is that you can manage your music with your own music app! Simply create an event for actions to be done upon the connection pf a headphone and forget this app!

This was originally developed for Sony Xperia Handsets. But should work with any, which has a good hardware configuration (src) and an OS higher that ICS (which you already have).

share|improve this answer
    
I installed it and it does not seem to be compatible with the built-in player in my HTC One V phone. The headphones connection is properly detected and triggers the action of starting it, but nothing sounds on it. I guess this is something specific to my player. –  jfmessier Jan 13 '13 at 2:14
    
You can try different player apps. just add start application action to trigger and select your preffered app. Sony walkman is a good one. –  Sid Jan 13 '13 at 2:21

you can do this with free kebab.Llama

It is an event monitor that can do actions when an event on the phone happend.

You can configure that whenever the event "Headset-Connected" occours start the app musicplayer (or any other app you want)

share|improve this answer
    
I seem to have problems with it. I created the condition and action, but nothing seems to happen. I use the music player that is included with my cell phone, an HTC One V. –  jfmessier Jan 11 '13 at 19:23
    
Looks like k3b also mis-understood your question as "start the player" instead of "starting playback"... –  Izzy Jan 11 '13 at 19:59

Easiest way might be to use some headset controller like e.g. JAYS Headset Control (there are plenty more on the playstore if this one doesn't work out for you -- I also had to try a few until I found the right one working smoothly with my headset).

Most of them allow you to define an app to be started as soon as the headset is connected (in your case, that would be the media player of your choice). Beside that, they give you the ability to control the media player via your 1-button-headset control: Tap once to play/pause (or accept a call), tap twice to skip forward a title (or reject a call), hold the button to increase volume, and much more.

EDIT: I see k3b and I both misunderstood your question as "start the player", while you were talking about "start playback". One app which can solve this is Tasker (see their website for a free trial version). The Tasker user manual mentions in the actions section:

Media Control
Send a command to a media playback application.

Simulate Media Button: when selected, any media player which listens for Media Button events can be controlled. Without it, the only the Android system media player will respond.

So this should do what you want.

share|improve this answer
    
My headset is a cheapo one, with no button at all.Don't know whether this would work. I will try it. –  jfmessier Jan 11 '13 at 19:44
    
In that case, maybe Llama is the better choice for you, as you can use its other features for added benefit. But of course you have the choice :) –  Izzy Jan 11 '13 at 19:49
    
I just see I mis-read your question: you don't want to start the mediaplayer, but restart playback. In this case, the headset control apps probably don't help, as they would just launch the app (not start the playback). Llama might indeed be able to solve this, if it can handle playback control. –  Izzy Jan 11 '13 at 19:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.