There is no need for the LAUNCHER category unless you want this activity to also show up as a top-level application in the launcher.
On Mon, Apr 19, 2010 at 6:16 PM, Mark Murphy <[email protected]>wrote: > I found the answer, courtesy of an alldroid.org thread. > > Here's the <intent-filter> you need: > > <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> > > Then, you get the activity chooser, with the "Use by default for this > action" checkbox. > > Here's the full thread in case you're interested: > > http://alldroid.org/threads/13897-That-Stupid-Car-Dock-App. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Android 2.x Programming Books: http://commonsware.com/books > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

