If you can't send ACTION_PACKAGE_CHANGED, how are alternative markets/
installers supposed to work? While it looks like if you sent
ACTION_PACKAGE_ADDED the same thing would happen, based on the filter
Launcher sets up, that seems less correct.

I agree that Sense UI probably has some cooperating mechanism between
their launcher and their apps.

I was experimenting with activity aliases as a way of turning on and
off the ability to launch into multiple different activities in the
same app. Is that still kosher? I replied here because it seems that
you could use the same technique to change icons.

On Jun 6, 2:40 pm, Dianne Hackborn <[email protected]> wrote:
> On Sun, Jun 6, 2010 at 6:44 AM, Zigurd <[email protected]> wrote:
> > I should add that you would have to get the launcher to update by
> > broadcasting an intent with the action ACTION_PACKAGE_CHANGED.
>
> You should not send this kind of broadcast.  In fact in newer platforms you
> can't.
>
> > But
> > that should be a general way to implement what Sense UI does by
> > changing app icons.
>
> Sense UI probably has some special cases hard-coded in to things.  Being
> able to change app icons is something we'd like to do at some point, but has
> been a lower priority than many other things.  I don't know when it may
> happen.
>
> --
> 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