I moved from my vibrant that was on 2.1 where I had created a menu of music apps that came up when I plugged in headphones. I had an exit task that would kill music apps when I unplugged the headphones. It worked great.
Now on the NS my exit tasks don't work? I was reading that exit tasks don't work on 2.2 or higher. Anyway I was trying to figure if I could do anything to achieve the same effect?
Edit: Tasker total automation for Android http://tasker.dinglisch.net/
Edit 2: I understand that tasks cannot be killed by other apps in 2.3. What I am asking is if anyone knows how I can not hear any music when my headphones are unplugged. I could ask the maker of every music app I use to add this feature (unrealistic). I could set have tasker set the volume to zero (but then an app streaming music would still be chewing through my battery). Or I could just pull my phone out of my pocket and do it myself (why would I want to do that?).
task killer? if this it is, its bad http://androidspin.com/2010/05/25/why-you-dont-need-a-task-killer-app-with-android/
I understand what task killers are and do and that is NOT what I want.
What I want is to stop music from playing when I unplug my headphones.
Pandora has started doing this automatically but other apps do not. When they are running and I unplug headphones the sound then comes out of the speaker for all to hear. I have to manually turn them off by pressing pause or something. I don't want that, I want them closed.
Tasker used to allow exit tasks that would kill an app (not a task killer per say) depending on the context you set. In this case I have a context of Headset plugged that brings up a menu of apps I may want (Pandora, various other music players, Square, etc) I select what I want and it runs. What I want to have happen when the headset is unplugged is have any music player I may have turned on stop playing music but I can't do it the way I used to (exit task). I am looking for a new solution. I thought about just setting volume to zero but I don't think that is ideal.
I don't listen to music from my phone but I just tried out a song with headphones plugged in. I unplug it while its playing and it stops.
I'm using winamp + CM7 + netarchy kernel (voodoo sound)
probably a winamp or CM7 thing?
Edit: also stops on stock music app. probably CM7
Hmm. I'm on stock 2.3.3 and specifically tunein doesn't stop. I guess I could run cm7 but I still would like to find out if anyone has a tasker solution.
Contact the developer of the app and ask for Tasker support. Ask if it is possible to send an intent to the app to close it.
It's not an application issue it's a tasker issue. And it's something that worked in 2.1 or lower and cannot be made to work on 2.2 or higher (at least that's what I read). I'm looking for a new way of doing things....
this no longer works on android 2.2 and 2.3, so there is nothing anyone can do about it. certain apps can just not be killed anymore, in any way. only choice is to to live with it unfortunately.
joshthewaster said:
It's not an application issue it's a tasker issue. And it's something that worked in 2.1 or lower and cannot be made to work on 2.2 or higher (at least that's what I read).
Click to expand...
Click to collapse
It's an OS issue. Tasks can no longer be killed by other tasks.
Contact the developer of the app and ask for Tasker support.
Click to expand...
Click to collapse
Related
Anyone else experiencing this? I have all sorts of weird issues with Car Mode, but this one takes the cake.
Whenever the Infuse exits Car Mode (whether I have launched Doubletwist in the recent past or not doesn't seem to matter), my Infuse will start playing music over the speaker from Doubletwist.
Launching Doubletwist and pausing play doesn't work, the music continues to play until I go into task manager and kill Doubletwist from there.
All I've got to say is WTF?
jblues1969 said:
Anyone else experiencing this? I have all sorts of weird issues with Car Mode, but this one takes the cake.
Whenever the Infuse exits Car Mode (whether I have launched Doubletwist in the recent past or not doesn't seem to matter), my Infuse will start playing music over the speaker from Doubletwist.
Launching Doubletwist and pausing play doesn't work, the music continues to play until I go into task manager and kill Doubletwist from there.
All I've got to say is WTF?
Click to expand...
Click to collapse
I have same problem when i use my Logitech speakers through me headphone jack or when I disconnect my Bluetooth. And mine keeps playing the same freaking song. Haven't figured it out myself either.
OK, that might narrow it down to disconnecting from bluetooth, since that's part of the exit from car mode. I had some unrelated issues with Navigation and did a factory reset yesterday and I'm reinstalling doubletwist. I got rid of AZW launcher as a result of this and haven't reinstalled it. I'll see if this problem continues.
Yep
Still happening with doubletwist even after the factory reset. This has to be a doubletwist bug.
jblues1969 said:
OK, that might narrow it down to disconnecting from bluetooth, since that's part of the exit from car mode. I had some unrelated issues with Navigation and did a factory reset yesterday and I'm reinstalling doubletwist. I got rid of AZW launcher as a result of this and haven't reinstalled it. I'll see if this problem continues.
Click to expand...
Click to collapse
I have had an issue with bluetooth doing this at disconnect. It has primarily been an android issue....not specific to any rom or phone.
Scenario 1. music playing, car gets turned off ie bt device off, music continues to play.
Scenario 2. music playing, car gets turned off ie bt device off, music pauses but resumes randomly
There was once some info in the Evo forums about this but It will take some digging for me to find it. The only solution I can think of now it to completely end (or kill on apps like doubletwist and mixzing) the music app prior to disconnect.
I will see if I can find the googl issue and the info I recall seeing in the evo forum.
Sent from my SAMSUNG-SGH-I997R using XDA App
I really don't think it's the same thing, actually. What you are describing seems to be a missed event (BT disconnect) that should stop an already running process (music player, doubletwist, etc).
What's happening to me is that doubletwist isn't even running in the first place and it starts playing music on BT disconnect. When you launch doubletwist to stop the music, it shows that it is NOT playing anything, while the task manager shows that it is and the music only stops when the process is killed.
I checked on doubletwist's forums and this issue has been raised and has 12 votes, beginning back in 2010, and they've chosen to not fix it.
I uninstalled doubletwist today and the problem has not reoccurred with a different app, so I think that pretty much points the finger at the app, rather than Android.
jblues1969 said:
I really don't think it's the same thing, actually. What you are describing seems to be a missed event (BT disconnect) that should stop an already running process (music player, doubletwist, etc).
What's happening to me is that doubletwist isn't even running in the first place and it starts playing music on BT disconnect. When you launch doubletwist to stop the music, it shows that it is NOT playing anything, while the task manager shows that it is and the music only stops when the process is killed.
I checked on doubletwist's forums and this issue has been raised and has 12 votes, beginning back in 2010, and they've chosen to not fix it.
I uninstalled doubletwist today and the problem has not reoccurred with a different app, so I think that pretty much points the finger at the app, rather than Android.
Click to expand...
Click to collapse
that is really odd....
I have issues with a few of my music apps that are very similar. (can't stand doubletwist so that isn't one)
many of them have no dedicated stop/end function, so even if i back out...they still linger in the background unless forcestop
THEN...when the disconnect event takes place they start playing
in your case it sounds like you verified doubletwist is not in task list running, bt disconnects/exit car mode and it starts itself?
I haven't gone so far as to check the task list before disconnect, but doubletwist had not been launched by me. I suppose it's possible it was lurking in the background if Android was running it without my knowledge, but that seems unlikely as often as this happens.
I'm chalking this up to a badly coded app and moving on.
jblues1969 said:
I haven't gone so far as to check the task list before disconnect, but doubletwist had not been launched by me. I suppose it's possible it was lurking in the background if Android was running it without my knowledge, but that seems unlikely as often as this happens.
I'm chalking this up to a badly coded app and moving on.
Click to expand...
Click to collapse
Gotcha....yeah i ditched doubleteist for that reason...there were several system events that troggered it to open on its own...mainly plugging the phone in to a charger...the phone would go into mass storage mode every time.
U made the right decision lol
Sent from my SAMSUNG-SGH-I997R using XDA App
I'm trying to find a reliable way to pause/stop Pandora through Tasker and it's driving me batty.
Media Controls -> Pause -> Simulate Media Button works. The issue with it is that it doesn't work in a reliable timeframe. Sometimes it works within a second. Other times, it takes up to 2 minutes. I don't think Tasker is delaying the simulate button , I think Pandora is taking it's sweet time to process it, because if I pause Pandora manually, then it will eventually unpause, as though I sent a Toggle Pause instead of a Pause. If Pandora is already paused and the task triggers, it never unpauses, so that says to me that Pandora is receiving the button, but not immediately processing it.
Using a shell command to issue 'kill com.pandora.android' as root hotboots my phone, so that's out, and while Kill App -> Pandora works to stop the music, it leaves Pandora in a weird, half-running state where it's not actually running, but it still shows up in the notification shade.
Has anyone had any good experience with using the two together?
I have a backup profile here that turns pandora off "stops the apps process" when you unplug your headphones and auto starts pandora when you plug your headphones back in.
Keep in mind i set tasker to do this only for a headset without a mic, you can adjust the settings to your liking
Here is a link
you will need to download Secure Settings from the Market (play store)
Let me know what you think, ill re-upload the tasker backup if the link ever dies (just PM me)
There is a feature or option that I truly miss from an earlier version of android. The ability to have a separate volume for "Navigation" and "Media/Music" Is there anything out there that would allow that function back? I use Google Maps/Navigation and mostly Player Pro or Pandora for music and MX player for videos. My HTC Thunderbolt is running a BAMF rom with Android version 2.3.4
I would be open to a different rom as long as it does not drop below the 2.3.4 mark.
Does anyone know of anything that would bring back the separate Navigation Volume?
Any info would be appreciated.
Thanks
There will be a greater chance of getting an answer, if the title reflected your question...
There's an app called "Volume Control +" by Team Coffeebreak soft. Check that one out...
I currently have that installed but unfortunately it does not have the separate volume controls.
What about trying to use an app like tasker or Llama to create an event that every time any specific app launches the volume sets to a specific level.
Eg.
As I start the car and my phone connects to BT audio, the volume sets to max and Google play music app launches and when I get it out the car the volume returns to normal and the music app gets killed, all events are done instantly after BT connects/disconnects.
Good idea but my ultimate goal is something a little different. While driving I enjoy listening to my music at a relatively low volume. When the music is at a volume that is enjoyable I would like to have the navigation voice louder. It might help wake me up a bit so I don't miss a turn.
a very valid reason. they should implement individual app volume controls. Unfortunately, that would fall on the hands of the developer.
I should have posted my app in here a long time ago. But I guess it is never too late to post it and hope for some good feedback on how to improve the app even further.
What does SleepTimer do:
It simply gives you a way of stopping your music after x minutes. Set it, and listen to music (or a video) in the evening without having to worry about the music running at 3am and waking you up from your sleep. SleepTimer lets you even do more like turning off wifi and/or mobile data after it turned off the music so you do not get interrupted by those annoying WhatsApp messages .
Scenarios
1. Turning off music after falling asleep
2. Turning off remote music like iTunes Remote, YouTube over ChromeCast, ... (needs some configuration)
3. Like fall asleep while talking with your love but hate high phone bills? Let SleepTimer stop the phone call (needs some configuration)
For most use cases SleepTimer just works. Open it up, set time, start. Done. And it even looks nice (at least I think so).
Only like 6% of the apps need some additional configuration to make them work.
More details (only for those who want to know/read more)
The app uses many different techniques to turn off the music. Audio controls, audio foreground, and even notifications since the newest version. Sadly there are some really bad music players out there that do not support any way of stopping their music except for opening the app and using the stop button in there. In such cases there is only the way of lowering the volume (which I hate ). I hope those developers get to work and implement a proper Music Player. Luckily most apps work though.
About notifications (new since October 2014)
This I am actually pretty proud about and took me a while to implement. And it gives us two new features.
1. Stop music using the notification
So if they have a pause/stop/close control in the notifcation, one can add a custom action in settings, select the app and click on the button in the notification that stops the music. SleepTimer will then use that button in the notification to stop the music. That allows more ways to stop an app and allows to stop apps like iTunes Remote, YouTube with ChromeCast, ...
2. Wait until the end of a track
If enabled, SleepTimer will not turn off the music immediately but wait until the track ends. This is done using the text content of the notification. As soon as the text in a notification changes SleepTimer knows that the track is changing and it will send a stop request immediately. (As well it ignores numbers like 3:12 which is obviously not track information but time information)
Shake extend
If enabled, you can extend the timer by shaking your phone. So you can set some quiet chime to run one minute before the timer runs out. If you can still hear it then just shake to phone to extend the timer.
Root
One can enable root in advanced settings to have even more options when the timer ends. For example turning off the phone or turning on airplane mode.
I hope you do like the app. If not, let me know why. If you have any recommendations or questions, please just ask. As well any ideas how to improve the app further are welcome.
Cheers,
Patrick
First.
Does it support all music & video players? Or only stock players?
exodius48 said:
First.
Does it support all music & video players? Or only stock players?
Click to expand...
Click to collapse
It supports a lot of music and video players. Basically all of them that support the events of Android that good Audio Player apps should support according to Google Many players I tested (Stock, Google Play Music, TuneIn, Spotify, YouTube, ...) worked. And even if they don't work by default, try out adding a custom action in settings in on sleep actions.
Is is possible to turn off the device after x minutes?
Kuri93 said:
Is is possible to turn off the device after x minutes?
Click to expand...
Click to collapse
Yes it is. But only if you have a rooted phone. If you do, then enable root in the advanced settings and then go into the On Sleep Actions settings where you will find the turn off phone option .
I think it would be great idea to add some notification with countdown(few seconds), before phone shutting down.
This is a really neat app! All the other sleep timers I tried didn't feature root options like airplane mode etc. Thanks a lot!
Just a little request: Could you add a screen off option as well? I mean sure, the device will turn off the display afterwards by itself, but I thought it might be useful.
Continuous sleep mode
Hi
I would like to know if the app can be configured so that if I fall asleep with earphones on and wake up and press the play/stop button on the earphones, theaudio I was listening to continues, but is automatically in sleep countdown mode without having to start Sleep Timer again.
This is the way the sleep mode in Smart Audiobooks works and it is very nice.
Thanks.
When I start my car it detects my phone (S6) via bluetooth and autostarts playing the music player (which ever one I used last or defaults back to google stock music player).
I can't for the life of me figure out a solid solution.
I've tried what was written in post #7 (http://forums.androidcentral.com/sa...ic-autostarting-when-connected-bluetooth.html) with tasker and even though it does eventually close the player, the volume never goes down to 0 in beginning which is super-annoying. I tried muting all the audio volume options (BT Voice, System, Media) to no avail.
Does anyone have a better solution?
Maybe I should try something else with Tasker?
livinginavacuum said:
When I start my car it detects my phone (S6) via bluetooth and autostarts playing the music player (which ever one I used last or defaults back to google stock music player).
I can't for the life of me figure out a solid solution.
I've tried what was written in post #7 (http://forums.androidcentral.com/sa...ic-autostarting-when-connected-bluetooth.html) with tasker and even though it does eventually close the player, the volume never goes down to 0 in beginning which is super-annoying. I tried muting all the audio volume options (BT Voice, System, Media) to no avail.
Does anyone have a better solution?
Maybe I should try something else with Tasker?
Click to expand...
Click to collapse
Try looking for settings in your car, maybe you can put it on standby or something...
Talsadus said:
Try looking for settings in your car, maybe you can put it on standby or something...
Click to expand...
Click to collapse
No setting like that on my car unfortunately and it's a 2015 model (Audi A4).
I understand my car failing me in that sense since I can't just "upgrade/tweak" the media system/software, but my phone not being able to give me more control of bluetooth audio usability at this day and age... it's just sad, really.