I have had a docking app on the market place since December 2009 that
allows users to dock android 2.0 and higher phones when plugging in
any charger or via the app itself.  It appears that starting in 2.2 a
security exception is thrown now when the Intent.ACTION_DOCK_EVENT is
sent.  I see UiModeManager has been added in 2.2, but it only gives
the ability to access the car dock not the desk dock.  I also tried
sending UiModeManager.ACTION_ENTER_DESK_MODE but get the same security
exception.

Is there any way to still desk dock the phone from an application in
2.2?  Will UiModeManager be expanded to include Desk Docking before
2.2 gets rolled out further?

I realize sending the docking events from an app was not intended, but
taking this away with out providing a suitable replacement is going to
upset android users that have become use to having this ability threw
various apps, not to mention the backlash from those who have paid for
such apps.

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