Mark,

But it is possible to disable the application, though?

There is permission flag called:
CHANGE_COMPONENT_ENABLED_STATE<http://developer.android.com/reference/android/Manifest.permission.html#CHANGE_COMPONENT_ENABLED_STATE>

Which seems to do what I want.

On Tue, Jun 29, 2010 at 1:52 PM, Mark Murphy <[email protected]>wrote:

> On Tue, Jun 29, 2010 at 3:40 PM, Nando Android <[email protected]>
> wrote:
> > Is it possible to remove an application programatically?
>
> If you write your own firmware, yes. I am not aware of a means in the
> SDK to trigger the uninstall process.
>
> > When a package is installed, I believe there is a broadcast message to
> the
> > system saying that.
> >
> > Is it possible to capture that broadcast message?
>
> I do not believe that it is an ordered broadcast, so probably you
> cannot block it, if that is what you mean by "capture".
>
> > What, also, could be done to avoid an application from being removed
> > programatically?
>
> Write your own firmware, and put the application in the firmware.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training...At Your Office: http://commonsware.com/training
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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