shookie10 wrote:
> Is there any way to disable or override the car dock app? 

You should be able to provide an alternative to the car dock app by
having an activity with an <intent-filter> with the CATEGORY_CAR_DOCK
category.

I would expect the user to then get a choice of what activity to start
when they dock their phone, just as there is with a replacement home screen.

However, I don't have a car dock and so have not experimented with this
category.

> I have created a BroadcastReceiver for my
> app but the standard car dock app displays, not my app.

To quote the documentation:

"To launch an activity from a dock state change, use CATEGORY_CAR_DOCK
or CATEGORY_DESK_DOCK instead. "

(that's from the docs for ACTION_DOCK_EVENT, which is what your
BroadcastReceiver presumably listens for)

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to