Ashutosh Sharma wrote: > Hi, > > I have an application that has multiple activities with the intent > action.MAIN (category LAUNCHER), so that multiple shortcuts appear in > the "Applications" list. > > Is it possible to disable some of these activities at run-time (so > that the corresponding shortcuts disappear from the "Applications" > list)?
You can try PackageManager#setComponentEnabledSetting(), though I'm not sure what permission or other security issues are tied into that. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Looking for Android opportunities? http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

