ACTION_DOCK_EVENT is about the device being placed in a dock.  Calling that
API puts the device in to car mode, but that doesn't cause it to be placed
in to a dock.

On Wed, Apr 27, 2011 at 3:29 PM, mort <[email protected]> wrote:

> > Additionally: Is there a way to emulate thedockmodes? I only found
> > some old tools that stopped working since Android 2.2.
>
> Little update: I tried to emulate at least the car dock mode with
> UiModeManager.en-/disableCarMode(). I get the steering wheel in the
> notification bar and a "Config changed" log entry, but
> ACTION_DOCK_EVENT doesn't seem to be sent. At least there's no log
> entry, and no receiver is invoked, no matter if I register it in my
> Activity or Service or use a static intent-filter in
> AndroidManifest.xml. The car home doesn't get invoked as well. Is this
> always the case or just a device/ROM specific bug (Nexus S with CM7)?
>
> --
> 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
>



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

Reply via email to