After browsing the web I have found out that this code is supposed to start a app when docked:
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.CAR_DOCK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
The problem is that this does not start the app when the phone is docked. What am I doing wrong?
Edit: Nothing happens when I dock it in a desk dock.