On Tue, Jun 29, 2010 at 11:48 PM, NightGospel <wutienen@gmail.com> wrote:
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 <nando.andr...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment