Hi Murphy,

I used setApplicationEnabledSetting(). but it's throwing an error

 java.lang.SecurityException: Permission Denial: attempt to change
component

How do we set permission ? I was trying to disable a third party app
downloaded from google and installed using adb command. Is it possible
to do so ?

Thanks,
Amit

On Jun 25, 11:03 am, Amit <[email protected]> wrote:
> Thanks a lot Murphy.
>
> On Jun 24, 6:32 pm, Mark Murphy <[email protected]> wrote:> On Thu, Jun 
> 24, 2010 at 9:25 AM, Amit <[email protected]> wrote:
> > > Is there any way to change the category at run time?
>
> > Not that I am aware of.
>
> > > or any
> > > other way to hide the icon from main menu ?
>
> > You can disable the activity completely using the PackageManager.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > Android App Developer Books:http://commonsware.com/books

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