How did you guys used the method setComponentEnabledSetting() ? I've been 
trying to use it to disabled my own activiy-alias. What parameters do you 
give to the method ?
On Monday, August 3, 2009 10:28:25 AM UTC-4, Ashutosh Sharma wrote:
>
> Thanks - That seems to be exactly what I was loooking for! 
>
> Thanks again, 
> Ashutosh 
>
> On Aug 3, 7:09 pm, Mark Murphy <mmur...@commonsware.com> wrote: 
> > 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 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

Reply via email to