I posted this in another thread but I really need help as the problem is driving me crazy:
I finally got my task to work I believe to have my text messages and my phone calls announced thought my headset when the bluetooth is connected: This is what I have:
Media Control Pause stimulate Media button on
Say text/phone call
Media Control Toggle Pause Simulate Media button on
Now this works perfectly. Most time I either have Pandroa or my native music player playing music though my bluetooth at the same time and it does what it is suppose to: stops music say text/phone, resume music.
The problem comes in when I don't have any music on, after saying the text/phone call it will start to play music from my native music app anyways. What can I do to not have music played if there was not music being played before the text/phone call came in.
I need a variable that says that if the music wasn't playing before, that it's shouldn't play afterward.
I finally got my task to work I believe to have my text messages and my phone calls announced thought my headset when the bluetooth is connected: This is what I have:
Media Control Pause stimulate Media button on
Say text/phone call
Media Control Toggle Pause Simulate Media button on
Now this works perfectly. Most time I either have Pandroa or my native music player playing music though my bluetooth at the same time and it does what it is suppose to: stops music say text/phone, resume music.
The problem comes in when I don't have any music on, after saying the text/phone call it will start to play music from my native music app anyways. What can I do to not have music played if there was not music being played before the text/phone call came in.
I need a variable that says that if the music wasn't playing before, that it's shouldn't play afterward.