Hi, I'm trying to "override" the action when connecting the Droid to
the multimedia dock, and I'm not being lucky with this.
I'm not being asked to "select the default action", the only way for
me to launch an app when detecting a dock connection is by using the
android.intent.action.DOCK_EVENT and using a broadcastReceiver, then
launching the app from there, obviously not good, did it that way just
for testing purposes.

Here's my manifest, I'm using the intent-filter this way.

<application …….>
        <activity…………..>
         MAIN ACTIVITY..........................
        ………………………………………………..

        <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DESK_DOCK" />
                <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>

        </activity>
</application>


Thanks in advance,

-- 
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

Reply via email to