Ow. Yeah, that would not be friendly to shortcuts. And I also see how alternative installers work, too, now that I looked into it. It appears that what I want to do would require an app downloading an "update" of itself and installing it in order to show a different set of launcher icons, and that's just not worth it to change the look of one icon on the fly.
On Jun 6, 9:26 pm, Dianne Hackborn <hack...@android.com> wrote: > On Sun, Jun 6, 2010 at 2:30 PM, Zigurd <zigurd.medni...@gmail.com> wrote: > > 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. > > The system sends these when it installs or otherwise modifies packages. > Alternative markets don't get to directly install apps (and at this level, > neither does the regular market); they ask the system to, and it does the > right thing. > > > 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. > > You could do this, but if the user has made a shortcut to your app this > would break it. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > 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 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