Kevin Duffey wrote:
> Is there now ability to have some code executed during install and
> uninstall? 

No. You can detect the first run of your application and treat it as
part of the "install", though.

> I would have thought by now all OSs/frameworks would provide this sort
> of process.

Back when Windows spyware would actually deign to register in Add/Remove
Programs, such apps would take advantage of the "code executed during
uninstall" process to try their level best to prevent the uninstall from
happening. This ranged from suggesting major system problems if the app
were to be uninstalled to forking processes that would reinstall it
after the uninstall completed.

Based on past comments, I am under the impression that the core Android
team specifically does not allow apps to run code on install/uninstall
to avoid these sorts of situations.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.3 Available!
-- 
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