Jump to content

Music app keeps starting when I am using Google Navigation


Recommended Posts

Guest shovon
Posted

Hi

I have just started connecting my Pulse to my car stereo via an iPod connection lead that was already fitted to my stereo using this a cablejive dock converter:

cablejive_universal_dock_adapter2_600x400__97679_zoom.jpg

I then run a USB to USB micro lead and a 3.5stereo to 2.5 stereo lead into my phone headphone socket from the converter. Yes, it is rather complicated but it would appear to work except, when i'm using google satnav, the music player app keeps opening up and ruining things.

Do you think this fix would work to prevent the music player opening up when the stereo lead is plugged into my headphone socket?:

pm disable com.android.music/com.android.music.MediaButtonIntentReceiver

If so, I read you have to apply the fix via ADB shell or the Terminal, which is fine except I am an extreme noob and don't have any idea how to open the terminal or get access to ADB shell. Would anyone advice please?

I am using FLB MOD at the moment.

Thank you

Guest ogiogi
Posted
Hi

I have just started connecting my Pulse to my car stereo via an iPod connection lead that was already fitted to my stereo using this a cablejive dock converter:

I then run a USB to USB micro lead and a 3.5stereo to 2.5 stereo lead into my phone headphone socket from the converter. Yes, it is rather complicated but it would appear to work except, when i'm using google satnav, the music player app keeps opening up and ruining things.

Do you think this fix would work to prevent the music player opening up when the stereo lead is plugged into my headphone socket?:

pm disable com.android.music/com.android.music.MediaButtonIntentReceiver

If so, I read you have to apply the fix via ADB shell or the Terminal, which is fine except I am an extreme noob and don't have any idea how to open the terminal or get access to ADB shell. Would anyone advice please?

I am using FLB MOD at the moment.

Thank you

I think there's a widget in FLB's MOD for that -Headset Blocker- :)

Guest Azurren
Posted
I think there's a widget in FLB's MOD for that -Headset Blocker- :)

Or you can download an app called (Auto Starts) (Root required, not free)

And disable "Music" under "Media button pressed"

The only advantage over the widget is after you have made the change you can uninstall the app, saving vital system resources

Guest Simon O
Posted
I think there's a widget in FLB's MOD for that -Headset Blocker- :)

I was using that but it doesn't work properly :D

Guest ogiogi
Posted
I was using that but it doesn't work properly :D

:P Haven't tried it yet. I have Autostarts :)

Guest Simon O
Posted
:D Haven't tried it yet. I have Autostarts :)

Yep I've started using that and it works. But best solution is to be able to compile replacement media libraries so the issue is fixed.

Guest ogiogi
Posted
Yep I've started using that and it works. But best solution is to be able to compile replacement media libraries so the issue is fixed.

Did you have any luck doing that, or maybe a script to enable/disable -media button pressed-

Guest shovon
Posted

So the script:

pm disable com.android.music/com.android.music.MediaButtonIntentReceiver

won't work?

Guest Simon O
Posted
So the script:

pm disable com.android.music/com.android.music.MediaButtonIntentReceiver

won't work?

That should work as long as you only have the stock music player installed and no others.

Guest shovon
Posted
That should work as long as you only have the stock music player installed and no others.

OK thanks

So I download the SDK and use the tools in that, hope its straight forward :)

or how would I access the terminal?

Guest Sh4d0w940
Posted
OK thanks

So I download the SDK and use the tools in that, hope its straight forward :)

or how would I access the terminal?

With adb (included in the sdk) run:

"adb shell"

And then:

"pm disable com.android.music/com.android.music.MediaButtonIntentReceiver"

Sh4d0w940

Guest shovon
Posted
With adb (included in the sdk) run:

"adb shell"

And then:

"pm disable com.android.music/com.android.music.MediaButtonIntentReceiver"

Sh4d0w940

Thanks dude!

Guest shovon
Posted
That should work as long as you only have the stock music player installed and no others.

Sorry to drag this up again.

I've just realised the music player as supplied in your ROM is not the default android one, its the stocker one so the script won't work will it?

Would my only option now be to buy autostarts (not a big deal I guess) or can I replace the 'eliot stocker' player with the default android one easily? What are the advantages of stocker over the original please?

Thanks.

Guest ogiogi
Posted
Sorry to drag this up again.

I've just realised the music player as supplied in your ROM is not the default android one, its the stocker one so the script won't work will it?

Would my only option now be to buy autostarts (not a big deal I guess) or can I replace the 'eliot stocker' player with the default android one easily? What are the advantages of stocker over the original please?

Thanks.

It's the same android music player just themed. So the script should work :)

Guest Simon O
Posted

Well it's built on the 2.1 music player source from AOSP with a few modifications and fixes. But it declares itself the same as the original music player, a true replacement.

I've checked this with Autostarts and it's running the same command:

07-13 11:34:59.428: DEBUG/Autostarts(10224): Running 'pm disable com.android.music/com.android.music.MediaButtonIntentReceiver' as root
So the command
pm disable com.android.music/com.android.music.MediaButtonIntentReceiver

will work perfectly fine.

Guest shovon
Posted
Well it's built on the 2.1 music player source from AOSP with a few modifications and fixes. But it declares itself the same as the original music player, a true replacement.

I've checked this with Autostarts and it's running the same command:

07-13 11:34:59.428: DEBUG/Autostarts(10224): Running 'pm disable com.android.music/com.android.music.MediaButtonIntentReceiver' as root
So the command
pm disable com.android.music/com.android.music.MediaButtonIntentReceiver

will work perfectly fine.

Thanks all :)

Guest Simon O
Posted

The command for MixZing is:

pm disable com.mixzing.basic/com.mixzing.music.MediaButtonIntentReceiver

Should be easy to work out for other players too :angry:

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.