I believe this is they correct intent filter setup. <receiver android:name=".DemoCar"> <intent-filter> <action android:name="android.intent.action.DOCK_EVENT" /> <category android:name="android.intent.category.CAR_DOCK" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </receiver>
Thanks Zach On Oct 11, 7:13 am, Mark Murphy <mmur...@commonsware.com> wrote: > On Mon, Oct 11, 2010 at 8:03 AM, zachariahyoung <zpyo...@gmail.com> wrote: > > What should my intent filter look like? > > AFAIK, this should work: > > <intent-filter> > <action android:name="android.intent.action.MAIN" /> > <category android:name="android.intent.category.CAR_DOCK" /> > <category android:name="android.intent.category.DEFAULT" /> > </intent-filter> > > Note, though, that I do not own acardock, let alone have written any > code to try using it. > > > Also is there a way to make > > the filedockvia a adb command? > > It does not appear that this is possible. I see neither an emulator > switch nor a telnet command for it. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en