Note: none of this works for the Car Dock in Android 2.3.3 Gingerbread (JVB, JVK, or JVO), due to a Samsung kernel bug/feature. It should work for the Home Dock. Car Dock output is fixed in Android 2.3.4 Gingerbread (JVP or later).
This will not work with any Cyanogenmod, Teamhacksung or other open source ROMs for any version of Android, including ICS, as it calls a closed-source Samsung module that will not be present in these ROMs.
Samsung's docks have external audio outputs that are connected through the phone's USB port. These outputs don't work unless you use the latest versions of Samsung's Desk Home and Car Home apps (kindly provided by an XDA user here for those that can't download them from the market).
Unfortunately these apps are not the greatest, especially Samsung Car Home. I wanted to use Google Car Home, so I did a little reverse engineering and discovered that Samsung's apps use this Android Intent to switch the external audio output on and off:
name: com.sec.android.intent.action.INTERNAL_SPEAKER
extra: state
extra value (Integer):
0 = off (sound through phone's internal speaker)
1 = on (sound through dock external port).
You can use this in a couple of ways:
1. Through Tasker: create a profile with context Docked and an Intent action as follows:
Action: com.sec.android.intent.action.INTERNAL_SPEAKER
Cat: none
Extra: state:1
Target: Broadcast Receiver
Or, if you don't want to use Tasker:
2. I created a tiny app (attached) that triggers this intent when the phone is docked and undocked. I've only tested it with the car dock but it should work with the home dock as well. It doesn't create a background service or use any memory normally, it just gets launched and switches the external audio output on whenever the phone is plugged in to the dock.
Update: v1.1 now has separate settings for home and car docks.
Known versions where Car Dock output doesn't work:
* Android 2.1 (all versions)
* Android 2.2 prior to JPX kernel
* Android 2.3.3 (works in 2.3.4 JVP)
Ringtone and caller voice audio does not go through the external port, only music player output.
I've only tested it on the I9000 but it should work with all the Galaxy S variants, at least all the ones that work with Samsung's Dock apps anyway.
Warning: There is a nasty "crack" when the audio output is connected so you may want to have your stereo's volume turned right down.
If you find this app useful please donate to the CyanogenMod developers: go to this thread and click the link under "SUPPORT US".
This will not work with any Cyanogenmod, Teamhacksung or other open source ROMs for any version of Android, including ICS, as it calls a closed-source Samsung module that will not be present in these ROMs.
Samsung's docks have external audio outputs that are connected through the phone's USB port. These outputs don't work unless you use the latest versions of Samsung's Desk Home and Car Home apps (kindly provided by an XDA user here for those that can't download them from the market).
Unfortunately these apps are not the greatest, especially Samsung Car Home. I wanted to use Google Car Home, so I did a little reverse engineering and discovered that Samsung's apps use this Android Intent to switch the external audio output on and off:
name: com.sec.android.intent.action.INTERNAL_SPEAKER
extra: state
extra value (Integer):
0 = off (sound through phone's internal speaker)
1 = on (sound through dock external port).
You can use this in a couple of ways:
1. Through Tasker: create a profile with context Docked and an Intent action as follows:
Action: com.sec.android.intent.action.INTERNAL_SPEAKER
Cat: none
Extra: state:1
Target: Broadcast Receiver
Or, if you don't want to use Tasker:
2. I created a tiny app (attached) that triggers this intent when the phone is docked and undocked. I've only tested it with the car dock but it should work with the home dock as well. It doesn't create a background service or use any memory normally, it just gets launched and switches the external audio output on whenever the phone is plugged in to the dock.
Update: v1.1 now has separate settings for home and car docks.
Known versions where Car Dock output doesn't work:
* Android 2.1 (all versions)
* Android 2.2 prior to JPX kernel
* Android 2.3.3 (works in 2.3.4 JVP)
Ringtone and caller voice audio does not go through the external port, only music player output.
I've only tested it on the I9000 but it should work with all the Galaxy S variants, at least all the ones that work with Samsung's Dock apps anyway.
Warning: There is a nasty "crack" when the audio output is connected so you may want to have your stereo's volume turned right down.
If you find this app useful please donate to the CyanogenMod developers: go to this thread and click the link under "SUPPORT US".
Attachments
Last edited: