Hi Nando,
When a package is installed or removed, system will broadcast out the
messages: "android.intent.action.PACKAGE_ADDED" or
"android.intent.action.PACKAGE_REMOVED".
You can write a broadcast receiver to capture such broadcasts and
don't forget to define data scheme ("package") for receiver.
NightGospel
On 6月30日, 上午3時40分, Nando Android <[email protected]> wrote:
> Is it possible to remove an application programatically?
>
> If so, shall I look at the package manager for that or is there an example
> some place?
>
> 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?
>
> Maybe the following question should be:
>
> What, also, could be done to avoid an application from being removed
> programatically?
>
> Thanks.
--
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